Ignore:
Timestamp:
09/19/06 22:33:29 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/Mesh.cpp

    r1344 r1418  
    476476 
    477477Plane3 
    478 Mesh::GetFacePlane(const int faceIndex) 
     478Mesh::GetFacePlane(const int faceIndex) const 
    479479{ 
    480480  Face *face = mFaces[faceIndex]; 
     
    521521 
    522522 
     523Vector3 Mesh::GetNormal(const int idx) const 
     524{ 
     525        return GetFacePlane(idx).mNormal; 
     526} 
     527 
     528 
    523529void 
    524530Mesh::AddTriangle(const Triangle3 &triangle) 
     
    728734Vector3 MeshInstance::GetNormal(const int idx) const 
    729735{ 
    730         return mMesh->GetFacePlane(idx).mNormal; 
     736        return mMesh->GetNormal(idx); 
    731737} 
    732738 
Note: See TracChangeset for help on using the changeset viewer.