scene.h
1 /************************************************************
2 * (C) Voxel Farm Inc. 2015
3 */
4 
5 #pragma once
6 
7 #include "mapindex.h"
8 
9 namespace VoxelFarm
10 {
12  typedef Cells Scene;
14  Scene* createScene(MapIndex* index, int levels, int xo, int yo, int zo, int resolution, int radiusLOD0);
15 }
16 
Contains all classes and functions for the VoxelFarm engine.
An index of which Cells are empty and which ones contain information. For offline mode only...
Definition: mapindex.h:54
TSet< CellId > Cells
A set of cells.
Definition: mapindex.h:25
Cells Scene
A Scene is a set of cells.
Definition: scene.h:12
Scene * createScene(MapIndex *index, int levels, int xo, int yo, int zo, int resolution, int radiusLOD0)
Creates a Scene based on a center octree coordinate.