vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SP_SceneInterface.h
Go to the documentation of this file.
1 
2 #ifndef SP_SCENEINTERFACE_H
3 #define SP_SCENEINTERFACE_H
4 
6 #include <vrecko/SP_CommonDefs.h>
7 
8 namespace vrecko {
9 
11 public:
14 
15  inline int getId() { return scIntId; };
16 
21  virtual bool performCompleteTest(CollisionParams * params, COLLISIONS_INFO_VECTOR ** collisions, unsigned long limitToEO1, unsigned long limitToEO2) {
22  return false;
23  };
24 
27  virtual bool performUpdate(CollisionParams * params, COLLISIONS_INFO_VECTOR ** collisions, unsigned long limitToEO1, unsigned long limitToEO2) {
28  return false;
29  }
30 
31 protected:
32  int scIntId; // system-wide unique id. Must be greater than zero.
33 };
34 
35 }
36 
37 #endif