mirror of
https://github.com/nothings/stb
synced 2024-12-16 04:42:42 +03:00
Update stb_voxel_render.h
This commit is contained in:
parent
5fcd181fae
commit
6a29bcf2a1
@ -3358,10 +3358,9 @@ static void stbvox_make_mesh_for_block_with_geo(stbvox_mesh_maker *mm, stbvox_po
|
|||||||
mesh = mm->input.selector[v_off];
|
mesh = mm->input.selector[v_off];
|
||||||
simple_rot = mesh >> 4;
|
simple_rot = mesh >> 4;
|
||||||
mesh &= 15;
|
mesh &= 15;
|
||||||
} else if (mm->input.block_selector) {
|
}
|
||||||
|
if (mm->input.block_selector) {
|
||||||
mesh = mm->input.block_selector[bt];
|
mesh = mm->input.block_selector[bt];
|
||||||
simple_rot = mesh >> 4;
|
|
||||||
mesh &= 15;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if we're going off the end
|
// check if we're going off the end
|
||||||
|
Loading…
Reference in New Issue
Block a user