GpuRaytraceScene work-in-progress, CPU only at the moment.

This commit is contained in:
Erwin Coumans
2013-05-27 00:42:28 -07:00
parent a3559b3c92
commit f55473d586
6 changed files with 127 additions and 31 deletions

View File

@@ -41,6 +41,8 @@ class GLInstancingRenderer
bool m_textureenabled;
bool m_textureinitialized;
int m_screenWidth;
int m_screenHeight;
public:
@@ -90,6 +92,14 @@ public:
void resize(int width, int height);
int getScreenWidth()
{
return m_screenWidth;
}
int getScreenHeight()
{
return m_screenHeight;
}
int getMaxShapeCapacity() const
{