From 30b77b0b32b4113b5dce2b67813ce9b85d1e1e57 Mon Sep 17 00:00:00 2001 From: aap Date: Mon, 24 Aug 2020 23:56:54 +0200 Subject: [PATCH] removed matrix alignment to be compatible with RW --- src/rwbase.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rwbase.h b/src/rwbase.h index 145df01..6b40302 100644 --- a/src/rwbase.h +++ b/src/rwbase.h @@ -296,7 +296,7 @@ inline V3d rotate(const V3d &v, const Quat &q) { return mult(mult(q, makeQuat(0. Quat lerp(const Quat &q, const Quat &p, float32 r); Quat slerp(const Quat &q, const Quat &p, float32 a); -struct RWALIGN(16) RawMatrix +struct RawMatrix { V3d right; float32 rightw; @@ -312,7 +312,7 @@ struct RWALIGN(16) RawMatrix static void setIdentity(RawMatrix *dst); }; -struct RWALIGN(16) Matrix +struct Matrix { enum Type { TYPENORMAL = 1,