- Timestamp:
- 05/19/09 12:02:26 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/Converter/ObjConverter2.cpp
r3360 r3371 129 129 for (int j = 0; j < 3; ++ j) 130 130 { 131 //if (tIndices[idx[j]] >= (int)texcoords.size())132 //cerr << "error: texcoord indices exceed array size " << texcoords.size() << " " << tIndices[idx[j]] << endl;133 131 const int tidx = min((int)texcoords.size() - 1, tIndices[idx[j]]); 134 135 132 faceTexcoords.push_back(texcoords[tidx]); 136 133 }
Note: See TracChangeset
for help on using the changeset viewer.