From 76a3165f09e729c07cc64b085ec320cbeb206d59 Mon Sep 17 00:00:00 2001 From: tycho Date: Sun, 24 May 2015 14:58:24 +0100 Subject: Fix comments --- src/Defines.h | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'src/Defines.h') diff --git a/src/Defines.h b/src/Defines.h index 71288b430..67d29f7a9 100644 --- a/src/Defines.h +++ b/src/Defines.h @@ -241,7 +241,9 @@ inline eBlockFace MirrorBlockFaceY(eBlockFace a_BlockFace) case BLOCK_FACE_NONE: case BLOCK_FACE_YM: case BLOCK_FACE_YP: + { return a_BlockFace; + }; } } @@ -254,14 +256,20 @@ inline eBlockFace RotateBlockFaceCCW(eBlockFace a_BlockFace) { switch (a_BlockFace) { - case BLOCK_FACE_XM: return BLOCK_FACE_ZP; - case BLOCK_FACE_XP: return BLOCK_FACE_ZM; - case BLOCK_FACE_ZM: return BLOCK_FACE_XM; - case BLOCK_FACE_ZP: return BLOCK_FACE_XP; + case BLOCK_FACE_XM: + return BLOCK_FACE_ZP; + case BLOCK_FACE_XP: + return BLOCK_FACE_ZM; + case BLOCK_FACE_ZM: + return BLOCK_FACE_XM; + case BLOCK_FACE_ZP: + return BLOCK_FACE_XP; case BLOCK_FACE_NONE: case BLOCK_FACE_YM: case BLOCK_FACE_YP: + { return a_BlockFace; + } } } @@ -280,7 +288,9 @@ inline eBlockFace RotateBlockFaceCW(eBlockFace a_BlockFace) case BLOCK_FACE_NONE: case BLOCK_FACE_YM: case BLOCK_FACE_YP: + { return a_BlockFace; + }; } } -- cgit v1.2.3