Moved returns
This commit is contained in:
parent
a38be148ba
commit
16ebbca35b
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
// MetaRotater.h
|
// MetaRotater.h
|
||||||
|
|
||||||
// Provides a mixin for rotations and reflections
|
// Provides a mixin for rotations and reflections
|
||||||
@ -44,11 +43,12 @@ NIBBLETYPE cMetaRotater<Base, BitMask, North, East, South, West, AssertIfNotMatc
|
|||||||
if (AssertIfNotMatched)
|
if (AssertIfNotMatched)
|
||||||
{
|
{
|
||||||
ASSERT(!"Invalid Meta value");
|
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>
|
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)
|
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)
|
if (AssertIfNotMatched)
|
||||||
{
|
{
|
||||||
ASSERT(!"Invalid Meta value");
|
ASSERT(!"Invalid Meta value");
|
||||||
return a_Meta;
|
|
||||||
}
|
}
|
||||||
|
return a_Meta;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user