Work on new OpenGL example.
This commit is contained in:
9
examples/OpenGL/Shapes.h
Normal file
9
examples/OpenGL/Shapes.h
Normal 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__
|
Reference in New Issue
Block a user