@Pose.h 791 B

1234567891011121314151617181920212223242526272829
  1. /******************************************************************************/
  2. /******************************************************************************/
  3. class Pose
  4. {
  5. flt scale;
  6. Vec pos, rot;
  7. Matrix operator()()C;
  8. Str asText()C;
  9. Pose& reset();
  10. Pose& operator+=(C Vec &offset );
  11. Pose& operator*=(C Pose &transform);
  12. Pose& operator*=(C Matrix &matrix );
  13. Pose(C Matrix &matrix);
  14. bool operator==(C Pose &t)C;
  15. bool operator!=(C Pose &t)C;
  16. public:
  17. Pose();
  18. };
  19. /******************************************************************************/
  20. /******************************************************************************/
  21. extern const Pose PoseIdentity;
  22. /******************************************************************************/