PhysicsConvexHull.hpp
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include <etk/types.hpp>
10 
11 namespace ege {
13  public:
14  PhysicsConvexHull() {};
15  virtual ~PhysicsConvexHull() {};
16  public:
17  virtual bool parse(const char* _line);
18  virtual void display() {};
19  public:
20  virtual enum ege::PhysicsShape::type getType() const {
21  return ege::PhysicsShape::convexHull;
22  };
23  private:
24  vec3 m_scale;
25  public:
26  vec3 getScale() const {
27  return m_scale;
28  };
29  private:
30  std::vector<vec3> m_points;
31  public:
32  const std::vector<vec3>& getPointList() const {
33  return m_points;
34  };
35  public:
36  virtual const ege::PhysicsConvexHull* toConvexHull() const {
37  return this;
38  };
39  virtual ege::PhysicsConvexHull* toConvexHull() {
40  return this;
41  };
42  };
43 }
44 
Definition: PhysicsConvexHull.hpp:12
Definition: AudioElement.hpp:8
Definition: PhysicsShape.hpp:22