builtin/voxelworld: WIP
This commit is contained in:
parent
0b76e363bd
commit
dbbcbf4e51
@ -337,14 +337,7 @@ struct Module: public interface::Module, public voxelworld::Interface
|
|||||||
|
|
||||||
void on_start()
|
void on_start()
|
||||||
{
|
{
|
||||||
/*load_or_generate_section(pv::Vector3DInt16( 0, 0, 0));
|
pv::Region region(-2, -1, -2, 2, 1, 2);
|
||||||
load_or_generate_section(pv::Vector3DInt16( 1, 0, 0));
|
|
||||||
load_or_generate_section(pv::Vector3DInt16(-1, 0, 0));
|
|
||||||
load_or_generate_section(pv::Vector3DInt16( 0, 1, 0));
|
|
||||||
load_or_generate_section(pv::Vector3DInt16( 0,-1, 0));
|
|
||||||
load_or_generate_section(pv::Vector3DInt16( 0, 0, 1));
|
|
||||||
load_or_generate_section(pv::Vector3DInt16( 0, 0,-1));*/
|
|
||||||
pv::Region region(-1, -1, -1, 1, 1, 1);
|
|
||||||
auto lc = region.getLowerCorner();
|
auto lc = region.getLowerCorner();
|
||||||
auto uc = region.getUpperCorner();
|
auto uc = region.getUpperCorner();
|
||||||
for(int z = lc.getZ(); z <= uc.getZ(); z++){
|
for(int z = lc.getZ(); z <= uc.getZ(); z++){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user