- 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/LinearMath/btQuadWord.h
r2907 r2908 25 25 #endif 26 26 27 /**@brief The btQuadWord class is base class for btVector3 and btQuaternion.27 /**@brief The btQuadWordStorage class is base class for btVector3 and btQuaternion. 28 28 * Some issues under PS3 Linux with IBM 2.1 SDK, gcc compiler prevent from using aligned quadword. 29 29 */ 30 30 #ifndef USE_LIBSPE2 31 ATTRIBUTE_ALIGNED16(class) btQuadWord 31 ATTRIBUTE_ALIGNED16(class) btQuadWordStorage 32 32 #else 33 class btQuadWord 33 class btQuadWordStorage 34 34 #endif 35 35 { … … 46 46 return mVec128; 47 47 } 48 protected:49 48 #else //__CELLOS_LV2__ __SPU__ 50 49 btScalar m_floats[4]; 51 50 #endif //__CELLOS_LV2__ __SPU__ 52 51 52 }; 53 54 /** @brief The btQuadWord is base-class for vectors, points */ 55 class btQuadWord : public btQuadWordStorage 56 { 53 57 public: 54 58 … … 131 135 { 132 136 } 133 137 /**@brief Copy constructor */ 138 SIMD_FORCE_INLINE btQuadWord(const btQuadWordStorage& q) 139 { 140 *((btQuadWordStorage*)this) = q; 141 } 134 142 /**@brief Three argument constructor (zeros w) 135 143 * @param x Value of x
Note: See TracChangeset
for help on using the changeset viewer.