Changeset 2614 for GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.cpp
- Timestamp:
- 01/18/08 16:28:30 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.cpp
r2613 r2614 368 368 369 369 Face *face = mesh->mFaces[i]; 370 Vector3 normal = mesh->GetNormal(i); 371 372 glNormal3f(normal.x, normal.y, normal.z); 370 373 for (int j = 0; j < face->mVertexIndices.size(); j++) { 371 374 glVertex3fv(&mesh->mVertices[face->mVertexIndices[j]].x); … … 696 699 697 700 mViewDirection = Normalize(Vector3(sin(dVector.x), 698 // 701 // cos(dVector.y), 699 702 0.0f, 700 703 cos(dVector.x)));
Note: See TracChangeset
for help on using the changeset viewer.