@ObjRot.h 917 B

123456789101112131415161718192021222324252627282930313233
  1. /******************************************************************************/
  2. /******************************************************************************/
  3. class ObjRot : Region
  4. {
  5. Memx<Property> props;
  6. TextBlack ts;
  7. Vec angles;
  8. bool multi_val;
  9. static Vec Angles(C Matrix3 &m);
  10. class Rot
  11. {
  12. Vec angles, scale;
  13. operator Matrix3();
  14. Rot(C Matrix3 &m);
  15. };
  16. static void ChangedX(ObjRot &os);
  17. static void ChangedY(ObjRot &os);
  18. static void ChangedZ(ObjRot &os);
  19. ObjRot& create(C Vec2 &up);
  20. void reset(int skip=-1);
  21. virtual void update(C GuiPC &gpc)override;
  22. public:
  23. ObjRot();
  24. };
  25. /******************************************************************************/
  26. /******************************************************************************/
  27. /******************************************************************************/