daily pastebin goal
31%
SHARE
TWEET

Untitled

a guest Mar 8th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class dMatrix
  2. {
  3.     public:
  4.     dMatrix ();
  5.     dMatrix (const dVector &front, const dVector &up, const dVector &right, const dVector &posit);
  6.     dMatrix (const dQuaternion &rotation, const dVector &position);
  7.  
  8.     dVector& operator[] (int i);
  9.     const dVector& operator[] (int i) const;
  10.  
  11.     dMatrix Inverse () const;
  12.     dMatrix Transpose () const;
  13.     dMatrix Transpose4X4 () const;
  14.     dVector RotateVector (const dVector &v) const;
  15.     dVector UnrotateVector (const dVector &v) const;
  16.     dVector TransformVector (const dVector &v) const;
  17.     dVector UntransformVector (const dVector &v) const;
  18.  
  19.     void TransformTriplex (void* const dst, int dstStrideInBytes,
  20.                            void* const src, int srcStrideInBytes, int count) const;
  21.  
  22.     dMatrix operator* (const dMatrix &B) const;
  23.  
  24.  
  25.     dVector m_front;
  26.     dVector m_up;
  27.     dVector m_right;
  28.     dVector m_posit;
  29. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top