Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 8, 2009, 12:58:47 AM (16 years ago)
Author:
dafrick
Message:

Reverted to revision 2906 (because I'm too stupid to merge correctly, 2nd try will follow shortly. ;))

Location:
code/branches/questsystem5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem5

  • code/branches/questsystem5/src/bullet/LinearMath/btQuadWord.h

    r2907 r2908  
    2525#endif
    2626
    27 /**@brief The btQuadWord class is base class for btVector3 and btQuaternion.
     27/**@brief The btQuadWordStorage class is base class for btVector3 and btQuaternion.
    2828 * Some issues under PS3 Linux with IBM 2.1 SDK, gcc compiler prevent from using aligned quadword.
    2929 */
    3030#ifndef USE_LIBSPE2
    31 ATTRIBUTE_ALIGNED16(class) btQuadWord
     31ATTRIBUTE_ALIGNED16(class) btQuadWordStorage
    3232#else
    33 class btQuadWord
     33class btQuadWordStorage
    3434#endif
    3535{
     
    4646                return mVec128;
    4747        }
    48 protected:
    4948#else //__CELLOS_LV2__ __SPU__
    5049        btScalar        m_floats[4];
    5150#endif //__CELLOS_LV2__ __SPU__
    5251
     52};
     53
     54/** @brief The btQuadWord is base-class for vectors, points */
     55class   btQuadWord : public btQuadWordStorage
     56{
    5357        public:
    5458 
     
    131135                {
    132136                }
    133  
     137  /**@brief Copy constructor */
     138                SIMD_FORCE_INLINE btQuadWord(const btQuadWordStorage& q)
     139                {
     140                        *((btQuadWordStorage*)this) = q;
     141                }
    134142  /**@brief Three argument constructor (zeros w)
    135143   * @param x Value of x
Note: See TracChangeset for help on using the changeset viewer.