31 lines
No EOL
701 B
C
31 lines
No EOL
701 B
C
// Copyright 2020 Phyronnaz
|
|
|
|
#pragma once
|
|
|
|
// Add custom defines here
|
|
|
|
// Enable double precision
|
|
// #define VOXEL_DOUBLE_PRECISION 1
|
|
|
|
// Enable voxel asserts
|
|
// #define VOXEL_DEBUG 1
|
|
|
|
// Make a voxel material only one byte for single index
|
|
/*
|
|
#define VOXEL_MATERIAL_ENABLE_R 0
|
|
#define VOXEL_MATERIAL_ENABLE_G 0
|
|
#define VOXEL_MATERIAL_ENABLE_B 0
|
|
#define VOXEL_MATERIAL_ENABLE_A 1
|
|
|
|
#define VOXEL_MATERIAL_ENABLE_UV0 0
|
|
#define VOXEL_MATERIAL_ENABLE_UV1 0
|
|
#define VOXEL_MATERIAL_ENABLE_UV2 0
|
|
#define VOXEL_MATERIAL_ENABLE_UV3 0
|
|
*/
|
|
|
|
// Use 8 bit voxel value
|
|
// #define EIGHT_BITS_VOXEL_VALUE 1
|
|
|
|
// Enable additional UV channels
|
|
// #define VOXEL_MATERIAL_ENABLE_UV2 1
|
|
// #define VOXEL_MATERIAL_ENABLE_UV3 1
|