LEFT | RIGHT |
1 /* | 1 /* |
2 * ***** BEGIN GPL LICENSE BLOCK ***** | 2 * ***** BEGIN GPL LICENSE BLOCK ***** |
3 * | 3 * |
4 * This program is free software; you can redistribute it and/or | 4 * This program is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU General Public License | 5 * modify it under the terms of the GNU General Public License |
6 * as published by the Free Software Foundation; either version 2 | 6 * as published by the Free Software Foundation; either version 2 |
7 * of the License, or (at your option) any later version. | 7 * of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 if (!mat->uvName.IsEmpty() && strcmp(mat->uvName
.ReadPtr(), attribs.layer[i].name) == 0) | 104 if (!mat->uvName.IsEmpty() && strcmp(mat->uvName
.ReadPtr(), attribs.layer[i].name) == 0) |
105 ras->SetAttrib(RAS_IRasterizer::RAS_TEXC
O_UV1, attribs.layer[i].glindex); | 105 ras->SetAttrib(RAS_IRasterizer::RAS_TEXC
O_UV1, attribs.layer[i].glindex); |
106 else if (!mat->uv2Name.IsEmpty() && strcmp(mat->
uv2Name.ReadPtr(), attribs.layer[i].name) == 0) | 106 else if (!mat->uv2Name.IsEmpty() && strcmp(mat->
uv2Name.ReadPtr(), attribs.layer[i].name) == 0) |
107 ras->SetAttrib(RAS_IRasterizer::RAS_TEXC
O_UV2, attribs.layer[i].glindex); | 107 ras->SetAttrib(RAS_IRasterizer::RAS_TEXC
O_UV2, attribs.layer[i].glindex); |
108 else | 108 else |
109 ras->SetAttrib(RAS_IRasterizer::RAS_TEXC
O_UV1, attribs.layer[i].glindex); | 109 ras->SetAttrib(RAS_IRasterizer::RAS_TEXC
O_UV1, attribs.layer[i].glindex); |
110 } | 110 } |
111 else if (attribs.layer[i].type == CD_TANGENT) | 111 else if (attribs.layer[i].type == CD_TANGENT) |
112 ras->SetAttrib(RAS_IRasterizer::RAS_TEXTANGENT,
attribs.layer[i].glindex); | 112 ras->SetAttrib(RAS_IRasterizer::RAS_TEXTANGENT,
attribs.layer[i].glindex); |
113 else if (attribs.layer[i].type == CD_ORCO) | 113 else if (attribs.layer[i].type == CD_ORCO) |
LEFT | RIGHT |