PhysicsCylinder.hpp
Go to the documentation of this file.
1 
6 #pragma once
7 
8 
9 #include <etk/types.hpp>
11 
12 
13 namespace ege {
15  public:
16  PhysicsCylinder() {};
17  virtual ~PhysicsCylinder() {};
18  public:
19  virtual bool parse(const char* _line);
20  virtual void display() {};
21  public:
22  virtual enum ege::PhysicsShape::type getType() const {
23  return ege::PhysicsShape::cylinder;
24  };
25  private:
26  vec3 m_size;
27  public:
28  vec3 getSize() const {
29  return m_size;
30  };
31  public:
32  virtual const ege::PhysicsCylinder* toCylinder() const {
33  return this;
34  };
35  virtual ege::PhysicsCylinder* toCylinder() {
36  return this;
37  };
38  };
39 }
40 
Definition: AudioElement.hpp:8
Definition: PhysicsCylinder.hpp:14
Definition: PhysicsShape.hpp:22