- Timestamp:
- Apr 8, 2009, 12:36:08 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/LinearMath/btTransform.h
r2662 r2907 191 191 192 192 /**@brief Return an identity transform */ 193 static btTransform getIdentity() 194 { 195 btTransform tr; 196 tr.setIdentity(); 197 return tr; 193 static const btTransform& getIdentity() 194 { 195 static const btTransform identityTransform(btMatrix3x3::getIdentity()); 196 return identityTransform; 198 197 } 199 198
Note: See TracChangeset
for help on using the changeset viewer.