Subversion Repositories Games.Carmageddon

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. #ifndef _QUAT_H_
  2. #define _QUAT_H_
  3.  
  4. #include "brender/br_types.h"
  5.  
  6. br_quat* BrQuatMul(br_quat* q, br_quat* l, br_quat* r);
  7.  
  8. br_quat* BrQuatNormalise(br_quat* q, br_quat* qq);
  9.  
  10. br_quat* BrQuatInvert(br_quat* q, br_quat* qq);
  11.  
  12. br_quat* BrQuatSlerp(br_quat* q, br_quat* l, br_quat* r, br_scalar a, br_int_16 spins);
  13.  
  14. br_matrix34* BrQuatToMatrix34(br_matrix34* mat, br_quat* q);
  15.  
  16. br_quat* BrMatrix34ToQuat(br_quat* q, br_matrix34* mat);
  17.  
  18. br_matrix4* BrQuatToMatrix4(br_matrix4* mat, br_quat* q);
  19.  
  20. br_quat* BrMatrix4ToQuat(br_quat* q, br_matrix4* mat);
  21.  
  22. #endif
  23.