Clang-format

master
Marc Gilleron 2020-02-06 18:52:18 +00:00
parent 8eae71e1cb
commit b2f7d23f7f
2 changed files with 17 additions and 19 deletions

View File

@ -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];
} }

View File

@ -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) {