Snake case

This commit is contained in:
Marc Gilleron 2019-04-23 00:26:41 +01:00
parent 1070acf0be
commit bfbe382a7d

View File

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