Work on new OpenGL example.

This commit is contained in:
David Williams
2009-03-18 20:44:05 +00:00
parent e32d840c50
commit a50bb8413e
4 changed files with 71 additions and 54 deletions

9
examples/OpenGL/Shapes.h Normal file
View File

@ -0,0 +1,9 @@
#ifndef __OpenGLExample_Shapes_H__
#define __OpenGLExample_Shapes_H__
#include "PolyVoxCore/BlockVolume.h"
void createSphereInVolume(PolyVox::BlockVolume<PolyVox::uint8>& volData, float fRadius, PolyVox::uint8 uValue);
void createCubeInVolume(PolyVox::BlockVolume<PolyVox::uint8>& volData, PolyVox::Vector3DUint16 lowerCorner, PolyVox::Vector3DUint16 upperCorner, PolyVox::uint8 uValue);
#endif //__OpenGLExample_Shapes_H__