Ignore:
Timestamp:
10/09/06 16:40:52 (18 years ago)
Author:
mattausch
Message:

fixed bug in TriangleIntersectable::GetRandomSurfacePoint?

File:
1 edited

Legend:

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

    r1586 r1587  
    810810int TransformedMeshInstance::GetRandomSurfacePoint(Vector3 &point, Vector3 &normal) 
    811811{ 
    812   int index = mMesh->GetRandomSurfacePoint(point, normal); 
    813   point = mWorldTransform*point; 
     812  const int index = mMesh->GetRandomSurfacePoint(point, normal); 
     813  point = mWorldTransform * point; 
    814814  normal = TransformNormal(mWorldTransform, normal); 
    815815  return index; 
Note: See TracChangeset for help on using the changeset viewer.