Reimplementation

This commit is contained in:
2015-10-25 12:31:41 -07:00
parent cd3d2ee133
commit dbbd3c76ef
26 changed files with 250 additions and 129 deletions

View File

@@ -7,7 +7,7 @@
namespace Zeus
{
class ZE_ALIGN(16) CPlane
class alignas(16) CPlane
{
public:
ZE_DECLARE_ALIGNED_ALLOCATOR();
@@ -43,7 +43,6 @@ public:
{
float nd = d;
float mag = vec.magnitude();
assert(mag != 0.0f);
mag = 1.0 / mag;
vec *= mag;
d = nd * mag;