Changeset 4801 in orxonox.OLD for orxonox/trunk/src/lib/graphics
- Timestamp:
- Jul 6, 2005, 4:02:22 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/importer/model.cc
r4800 r4801 933 933 this->triangles[index].indexToVertices[1] = (unsigned int)tmpElem->vertexNumber * 3; 934 934 this->triangles[index].indexToTexCoor[1] = (unsigned int)tmpElem->texCoordNumber * 3; 935 tmpElem = tmpElem->next; 936 937 this->triangles[index].indexToVertices[2] = (unsigned int)tmpElem->vertexNumber * 3; 938 this->triangles[index].indexToTexCoor[2] = (unsigned int)tmpElem->texCoordNumber * 3; 939 940 this->triangles[index + 1].indexToVertices[2] = (unsigned int)tmpElem->vertexNumber * 3; 941 this->triangles[index + 1].indexToTexCoor[2] = (unsigned int)tmpElem->texCoordNumber * 3; 942 tmpElem = tmpElem->next; 935 943 936 944 this->triangles[index + 1].indexToVertices[1] = (unsigned int)tmpElem->vertexNumber * 3; 937 945 this->triangles[index + 1].indexToTexCoor[1] = (unsigned int)tmpElem->texCoordNumber * 3; 938 tmpElem = tmpElem->next;939 940 this->triangles[index].indexToVertices[2] = (unsigned int)tmpElem->vertexNumber * 3;941 this->triangles[index].indexToTexCoor[2] = (unsigned int)tmpElem->texCoordNumber * 3;942 tmpElem = tmpElem->next;943 944 this->triangles[index + 1].indexToVertices[2] = (unsigned int)tmpElem->vertexNumber * 3;945 this->triangles[index + 1].indexToTexCoor[2] = (unsigned int)tmpElem->texCoordNumber * 3;946 946 947 947 index += 2;
Note: See TracChangeset
for help on using the changeset viewer.