PolyScenePrimitive.h 627 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * PolyScenePrimitive.h
  3. * Poly
  4. *
  5. * Created by Ivan Safrin on 6/15/08.
  6. * Copyright 2008 __MyCompanyName__. All rights reserved.
  7. *
  8. */
  9. // @package Scene
  10. #pragma once
  11. #include "PolyGlobals.h"
  12. #include "PolySceneMesh.h"
  13. #include "PolyCoreServices.h"
  14. #include <string>
  15. using std::string;
  16. namespace Polycode {
  17. class _PolyExport ScenePrimitive : public SceneMesh {
  18. public:
  19. ScenePrimitive(int type, float v1=1.0f, float v2=1.0f, float v3=1.0f);
  20. virtual ~ScenePrimitive();
  21. static const int TYPE_BOX = 0;
  22. static const int TYPE_PLANE = 1;
  23. static const int TYPE_SPHERE = 2;
  24. private:
  25. };
  26. }