From bfbe382a7d610c19b1e01f9f2c08411c6ffcc2c8 Mon Sep 17 00:00:00 2001 From: Marc Gilleron Date: Tue, 23 Apr 2019 00:26:41 +0100 Subject: [PATCH] Snake case --- dmc/voxel_mesher_dmc.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dmc/voxel_mesher_dmc.cpp b/dmc/voxel_mesher_dmc.cpp index 26ddf98..1d06b6e 100644 --- a/dmc/voxel_mesher_dmc.cpp +++ b/dmc/voxel_mesher_dmc.cpp @@ -405,24 +405,24 @@ inline bool is_border_left(const OctreeNode *node) { return node->origin.x == 0; } -inline bool is_border_right(const OctreeNode *node, int rootSize) { - return node->origin.x + node->size == rootSize; +inline bool is_border_right(const OctreeNode *node, int root_size) { + return node->origin.x + node->size == root_size; } inline bool is_border_bottom(const OctreeNode *node) { return node->origin.y == 0; } -inline bool is_border_top(const OctreeNode *node, int rootSize) { - return node->origin.y + node->size == rootSize; +inline bool is_border_top(const OctreeNode *node, int root_size) { + return node->origin.y + node->size == root_size; } inline bool is_border_back(const OctreeNode *node) { return node->origin.z == 0; } -inline bool is_border_front(const OctreeNode *node, int rootSize) { - return node->origin.z + node->size == rootSize; +inline bool is_border_front(const OctreeNode *node, int root_size) { + return node->origin.z + node->size == root_size; } inline Vector3 get_center_back(const OctreeNode *node) {