💿🐜 Antkeeper source code https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
353 B

  1. /**
  2. * Abstract base class for tools. Tools are the only way for the user to interact with the world.
  3. */
  4. class Tool
  5. {
  6. public:
  7. private:
  8. Vector3 translation;
  9. };
  10. class Forceps: public Tool
  11. {
  12. public:
  13. private:
  14. void pinch();
  15. void release();
  16. ModelInstance forcepsModelInstance;
  17. };
  18. class Brush: public Tool
  19. {
  20. public:
  21. private:
  22. void paint();
  23. };