Clang-format
parent
8eae71e1cb
commit
b2f7d23f7f
|
@ -493,5 +493,3 @@ uint8_t Voxel::_b_get_face_culling_mask(int face_id) const {
|
||||||
ERR_FAIL_INDEX_V(face_id, SIDE_COUNT, 0);
|
ERR_FAIL_INDEX_V(face_id, SIDE_COUNT, 0);
|
||||||
return _side_culling_masks[face_id];
|
return _side_culling_masks[face_id];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ const int g_opposite_side[6] = {
|
||||||
Cube::SIDE_POSITIVE_Y,
|
Cube::SIDE_POSITIVE_Y,
|
||||||
Cube::SIDE_NEGATIVE_Y,
|
Cube::SIDE_NEGATIVE_Y,
|
||||||
Cube::SIDE_POSITIVE_Z,
|
Cube::SIDE_POSITIVE_Z,
|
||||||
Cube::SIDE_NEGATIVE_Z,
|
Cube::SIDE_NEGATIVE_Z
|
||||||
};
|
};
|
||||||
|
|
||||||
inline bool is_face_visible(const VoxelLibrary &lib, const Voxel &vt, int other_voxel_id, int side) {
|
inline bool is_face_visible(const VoxelLibrary &lib, const Voxel &vt, int other_voxel_id, int side) {
|
||||||
|
|
Loading…
Reference in New Issue