mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 05:40:05 +00:00
27 lines
558 B
C++
27 lines
558 B
C++
#ifndef OPENGL3_CORE_RENDERER_H
|
|
#define OPENGL3_CORE_RENDERER_H
|
|
|
|
class b3CollisionObject;
|
|
class GLInstancingRenderer;
|
|
|
|
class OpenGL3CoreRenderer
|
|
{
|
|
|
|
GLInstancingRenderer* m_instancingRenderer;
|
|
public:
|
|
OpenGL3CoreRenderer();
|
|
virtual ~OpenGL3CoreRenderer();
|
|
void init();
|
|
void reshape(int w, int h);
|
|
void keyboardCallback(unsigned char key);
|
|
void renderPhysicsWorld(int numObjects, b3CollisionObject** colObjArray, bool syncOnly);
|
|
|
|
GLInstancingRenderer* getInstancingRenderer()
|
|
{
|
|
return m_instancingRenderer;
|
|
}
|
|
};
|
|
|
|
#endif //OPENGL3_CORE_RENDERER_H
|
|
|