mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
rename BlockModel to BlockModelType
This commit is contained in:
parent
ad07ec61cd
commit
718f5d1089
10 changed files with 43 additions and 45 deletions
|
|
@ -28,7 +28,7 @@ std::unique_ptr<Content> ContentBuilder::build() {
|
|||
// Generating runtime info
|
||||
def.rt.id = blockDefsIndices.size();
|
||||
def.rt.emissive = *reinterpret_cast<uint32_t*>(def.emission);
|
||||
def.rt.solid = def.model == BlockModel::block;
|
||||
def.rt.solid = def.model == BlockModelType::BLOCK;
|
||||
def.rt.extended = def.size.x > 1 || def.size.y > 1 || def.size.z > 1;
|
||||
|
||||
const float EPSILON = 0.01f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue