Files
bullet3/btgui/OpenGLWindow/GLInstanceRendererInternalData.h
erwin coumans 5784d6ce0b expose number of instances
export 'getKeyboardCallback' for chaining
2013-03-14 12:53:03 -07:00

21 lines
561 B
C

#ifndef GL_INSTANCE_RENDERER_INTERNAL_DATA_H
#define GL_INSTANCE_RENDERER_INTERNAL_DATA_H
#include "OpenGLInclude.h"
#include "BulletCommon/btAlignedObjectArray.h"
struct GLInstanceRendererInternalData
{
btAlignedObjectArray<GLfloat> m_instance_positions_ptr;
btAlignedObjectArray<GLfloat> m_instance_quaternion_ptr;
btAlignedObjectArray<GLfloat> m_instance_colors_ptr;
btAlignedObjectArray<GLfloat> m_instance_scale_ptr;
int m_vboSize;
GLuint m_vbo;
int m_totalNumInstances;
};
#endif //GL_INSTANCE_RENDERER_INTERNAL_DATA_H