From f95e805d338cd5a50b32f228777b2f9b018d43a4 Mon Sep 17 00:00:00 2001 From: h4570 Date: Wed, 23 Dec 2020 20:28:28 +0100 Subject: [PATCH] added data alignment --- src/engine/include/models/math/matrix.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/include/models/math/matrix.hpp b/src/engine/include/models/math/matrix.hpp index 5e13bd7..03f229e 100644 --- a/src/engine/include/models/math/matrix.hpp +++ b/src/engine/include/models/math/matrix.hpp @@ -19,7 +19,7 @@ class Matrix { public: - float data[16]; + float data[16] __attribute__((aligned(64))); Matrix(float m11, float m12, float m13, float m14, float m21, float m22, float m23, float m24,