summaryrefslogtreecommitdiffstats
path: root/src/Blocks/MetaRotater.h
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2014-03-08 15:23:00 +0100
committerworktycho <work.tycho@gmail.com>2014-03-08 15:23:00 +0100
commit16ebbca35b8fc91061f0141625c292a8096e3b6d (patch)
tree1cface681c6b40000b46d39de23945dcb3b49f4a /src/Blocks/MetaRotater.h
parentReformatted (diff)
downloadcuberite-16ebbca35b8fc91061f0141625c292a8096e3b6d.tar
cuberite-16ebbca35b8fc91061f0141625c292a8096e3b6d.tar.gz
cuberite-16ebbca35b8fc91061f0141625c292a8096e3b6d.tar.bz2
cuberite-16ebbca35b8fc91061f0141625c292a8096e3b6d.tar.lz
cuberite-16ebbca35b8fc91061f0141625c292a8096e3b6d.tar.xz
cuberite-16ebbca35b8fc91061f0141625c292a8096e3b6d.tar.zst
cuberite-16ebbca35b8fc91061f0141625c292a8096e3b6d.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/MetaRotater.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Blocks/MetaRotater.h b/src/Blocks/MetaRotater.h
index 5493c87e2..d3664b6f1 100644
--- a/src/Blocks/MetaRotater.h
+++ b/src/Blocks/MetaRotater.h
@@ -1,4 +1,3 @@
-
// MetaRotater.h
// Provides a mixin for rotations and reflections
@@ -44,11 +43,12 @@ NIBBLETYPE cMetaRotater<Base, BitMask, North, East, South, West, AssertIfNotMatc
if (AssertIfNotMatched)
{
ASSERT(!"Invalid Meta value");
- return a_Meta;
}
+ return a_Meta;
}
+
template<class Base, NIBBLETYPE BitMask, NIBBLETYPE North, NIBBLETYPE East, NIBBLETYPE South, NIBBLETYPE West, bool AssertIfNotMatched>
NIBBLETYPE cMetaRotater<Base, BitMask, North, East, South, West, AssertIfNotMatched>::MetaRotateCCW(NIBBLETYPE a_Meta)
{
@@ -63,8 +63,8 @@ NIBBLETYPE cMetaRotater<Base, BitMask, North, East, South, West, AssertIfNotMatc
if (AssertIfNotMatched)
{
ASSERT(!"Invalid Meta value");
- return a_Meta;
}
+ return a_Meta;
}