mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 15:33:10 +02:00
add VoxelConstants.h
This commit is contained in:
parent
33f86513ab
commit
823e23d50a
1 changed files with 24 additions and 0 deletions
24
libraries/voxels/src/VoxelConstants.h
Normal file
24
libraries/voxels/src/VoxelConstants.h
Normal file
|
@ -0,0 +1,24 @@
|
|||
//
|
||||
// VoxelConstants.h
|
||||
// hifi
|
||||
//
|
||||
// Created by Brad Hefta-Gaub on 4/29/13.
|
||||
//
|
||||
//
|
||||
// Various important constants used throughout the system related to voxels
|
||||
//
|
||||
//
|
||||
|
||||
#ifndef __hifi_VoxelConstants_h__
|
||||
#define __hifi_VoxelConstants_h__
|
||||
|
||||
const int MAX_VOXEL_PACKET_SIZE = 1492;
|
||||
const int MAX_TREE_SLICE_BYTES = 26;
|
||||
const int TREE_SCALE = 10;
|
||||
const int MAX_VOXELS_PER_SYSTEM = 250000;
|
||||
const int VERTICES_PER_VOXEL = 24;
|
||||
const int VERTEX_POINTS_PER_VOXEL = 3 * VERTICES_PER_VOXEL;
|
||||
const int INDICES_PER_VOXEL = 3 * 12;
|
||||
const int COLOR_VALUES_PER_VOXEL = 3 * VERTICES_PER_VOXEL;
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue