bullet3/examples/RenderingExamples/TinyVRGui.h
erwin coumans 29f3afe2a4 don't use GL_LINEAR_MIPMAP_LINEAR for shadow maps
optimize gpu upload (use glBufferSubData instead of glMapBuffer
Avoid checking char array against zero.
2016-10-14 15:06:09 -07:00

26 lines
547 B
C++

#ifndef TINY_VR_GUI_H
#define TINY_VR_GUI_H
#include "Bullet3Common/b3Transform.h"
class TinyVRGui
{
struct TinyVRGuiInternalData* m_data;
public:
TinyVRGui(struct ComboBoxParams& params, struct CommonRenderInterface* renderer);
virtual ~TinyVRGui();
bool init();
void tick(b3Scalar deltaTime, const b3Transform& guiWorldTransform);
void clearTextArea();
void grapicalPrintf(const char* str,int rasterposx,int rasterposy,unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha);
};
#endif //TINY_VR_GUI_H