add preliminary ray tracing test (ray-sphere placeholder on CPU)

This commit is contained in:
Erwin Coumans
2013-05-25 01:45:43 -07:00
parent a92223890f
commit a3559b3c92
6 changed files with 261 additions and 15 deletions

View File

@@ -18,7 +18,7 @@ public:
virtual ~GLPrimitiveRenderer();
void drawRect(float x0, float y0, float x1, float y1, float color[4]);
void drawTexturedRect(float x0, float y0, float x1, float y1, float color[4], float u0,float v0, float u1, float v1);
void drawTexturedRect(float x0, float y0, float x1, float y1, float color[4], float u0,float v0, float u1, float v1, int useRGBA=0);
void drawLine();//float from[4], float to[4], float color[4]);
void setScreenSize(int width, int height);