Claudette
 All Classes Namespaces Files Functions Enumerations Enumerator Friends Macros
base_collision_test.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "global.h"
4 
5 namespace Claudette {
6 
13 {
14 public:
17 
19  bool collides() const;
20 
28  const float* modelTriangle() const;
29 
31  int triangleId() const;
32 
34  const float* point() const;
35 
36 protected:
37  float* mutablePoint();
38 
39 private:
40  friend class CollisionModel3D;
41  bool m_collides;
42  int m_iColTri;
43  float m_colTri[9];
44  float m_colPnt[3];
45 };
46 
47 } // namespace Claudette
#define CLAUDETTE_LIB_EXPORT
Definition: global.h:21
Base class for all collision tests.
Collision Model, will represent the mesh to be tested for collisions.