Changeset 2908 for code/branches/questsystem5/src/bullet/BulletCollision/NarrowPhaseCollision/btRaycastCallback.h
- Timestamp:
- Apr 8, 2009, 12:58:47 AM (16 years ago)
- Location:
- code/branches/questsystem5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5
- Property svn:mergeinfo changed
-
code/branches/questsystem5/src/bullet/BulletCollision/NarrowPhaseCollision/btRaycastCallback.h
r2907 r2908 30 30 btVector3 m_to; 31 31 32 //@BP Mod - allow backface filtering and unflipped normals33 enum EFlags34 {35 kF_None = 0,36 kF_FilterBackfaces = 1 << 0,37 kF_KeepUnflippedNormal = 1 << 1, // Prevents returned face normal getting flipped when a ray hits a back-facing triangle38 39 kF_Terminator = 0xFFFFFFFF40 };41 unsigned int m_flags;42 43 32 btScalar m_hitFraction; 44 33 45 btTriangleRaycastCallback(const btVector3& from,const btVector3& to , unsigned int flags=0);34 btTriangleRaycastCallback(const btVector3& from,const btVector3& to); 46 35 47 36 virtual void processTriangle(btVector3* triangle, int partId, int triangleIndex);
Note: See TracChangeset
for help on using the changeset viewer.