My Project: openb3dlib.mod/openb3d/src/voxel.h Source File

My Project

voxel.h
Go to the documentation of this file.
1 #ifndef VOXEL_H
2 #define VOXEL_H
3
4 #include "mesh.h"
5
6 #include <iostream>
7 using namespace std;
8
9 class VoxelSprite : public Mesh{
10
11 public:
12
13 Material* material[8];
14 int no_mats;
15
16 int LOD[16*3];
17
18 static VoxelSprite* CreateVoxelSprite(int slices=64, Entity* parent_ent=NULL);
19 void VoxelSpriteMaterial(Material* mat);
20 void Render();
21
22 };
23
24 #endif
Mesh
Definition: mesh.h:34
VoxelSprite::no_mats
int no_mats
Definition: voxel.h:14
mesh.h
std
VoxelSprite
Definition: voxel.h:9
Entity
Definition: entity.h:27
Material
Definition: shadermat.h:35
CreateVoxelSprite
VoxelSprite * CreateVoxelSprite(int slices, Entity *parent)
Definition: functions.cpp:587
VoxelSpriteMaterial
void VoxelSpriteMaterial(VoxelSprite *voxelspr, Material *mat)
Definition: functions.cpp:1775
NULL
#define NULL
Definition: tree.cpp:4