mirror of
https://github.com/AxioDL/zeus.git
synced 2025-12-19 09:55:21 +00:00
Reimplementation
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user