Fix vector union alignment for non-float matrices
This commit is contained in:
parent
c7f8de0632
commit
46628c6376
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ public:
|
||||||
|
|
||||||
constexpr inline void operator*=(const Matrix rhs);
|
constexpr inline void operator*=(const Matrix rhs);
|
||||||
|
|
||||||
using VectorType = Vector<N, float>;
|
using VectorType = Vector<N, T>;
|
||||||
|
|
||||||
constexpr VectorType& operator[](const size_t index) { return columns[index]; }
|
constexpr VectorType& operator[](const size_t index) { return columns[index]; }
|
||||||
constexpr VectorType operator[](const size_t index) const { return columns[index]; }
|
constexpr VectorType operator[](const size_t index) const { return columns[index]; }
|
||||||
|
|
Reference in a new issue