mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 22:00:05 +00:00
218e9f9bf9
set a default camera targets for each demo. note that it is only reset when switching to a different demo, so you can restart at your chosen location. no OpenCL pairbench drawing in OpenGL2 (there is no VBO available etc)
24 lines
626 B
C
24 lines
626 B
C
#ifndef GL_INSTANCE_RENDERER_INTERNAL_DATA_H
|
|
#define GL_INSTANCE_RENDERER_INTERNAL_DATA_H
|
|
|
|
#include "OpenGLInclude.h"
|
|
#include "Bullet3Common/b3AlignedObjectArray.h"
|
|
|
|
struct GLInstanceRendererInternalData
|
|
{
|
|
|
|
b3AlignedObjectArray<GLfloat> m_instance_positions_ptr;
|
|
b3AlignedObjectArray<GLfloat> m_instance_quaternion_ptr;
|
|
b3AlignedObjectArray<GLfloat> m_instance_colors_ptr;
|
|
b3AlignedObjectArray<GLfloat> m_instance_scale_ptr;
|
|
|
|
int m_vboSize;
|
|
GLuint m_vbo;
|
|
int m_totalNumInstances;
|
|
int m_maxNumObjectCapacity;
|
|
int m_maxShapeCapacityInBytes;
|
|
|
|
};
|
|
|
|
#endif //GL_INSTANCE_RENDERER_INTERNAL_DATA_H
|