9 lines
434 B
C
9 lines
434 B
C
#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__
|