Matrix4f32 Class Reference

#include <sse_matrix_4f32.h>

Public Types

using ValueType = Float32
 

Public Member Functions

 Matrix4f32 ()
 
MAXON_ATTRIBUTE_FORCE_INLINE Matrix4f32 (const Float32 *p, Bool aligned)
 
MAXON_ATTRIBUTE_FORCE_INLINE Matrix4f32 (const SquareMatrix4d &m, Bool aligned)
 
MAXON_ATTRIBUTE_FORCE_INLINE Matrix4f32 (const Matrix &m)
 
MAXON_ATTRIBUTE_FORCE_INLINE void LoadAligned (const Float32 *p)
 
MAXON_ATTRIBUTE_FORCE_INLINE void LoadAligned (const Float64 *p)
 
MAXON_ATTRIBUTE_FORCE_INLINE void StoreUnaligned (Float32 *p) const
 
MAXON_ATTRIBUTE_FORCE_INLINE Matrix4f32 GetTransposed () const
 
template<Int32 iw, Int32 iz, Int32 iy, Int32 ix>
MAXON_ATTRIBUTE_FORCE_INLINE Vector4f32 Multiply (const Vector4f32 &x, const Vector4f32 &y, const Vector4f32 &z, const Vector4f32 &w) const
 

Private Attributes

Vector4f32 v0
 
Vector4f32 v1
 
Vector4f32 v2
 
Vector4f32 v3
 

Friends

MAXON_ATTRIBUTE_FORCE_INLINE friend Vector4f32 operator* (const Matrix4f32 &m, const Vector4f32 &v)
 
MAXON_ATTRIBUTE_FORCE_INLINE friend Matrix4f32 operator* (const Matrix4f32 &a, const Matrix4f32 &b)
 

Member Typedef Documentation

◆ ValueType

using ValueType = Float32

Constructor & Destructor Documentation

◆ Matrix4f32() [1/4]

Constructs the object. It does not set a default value.

◆ Matrix4f32() [2/4]

MAXON_ATTRIBUTE_FORCE_INLINE Matrix4f32 ( const Float32 p,
Bool  aligned 
)
explicit

◆ Matrix4f32() [3/4]

MAXON_ATTRIBUTE_FORCE_INLINE Matrix4f32 ( const SquareMatrix4d m,
Bool  aligned 
)
explicit

◆ Matrix4f32() [4/4]

Member Function Documentation

◆ LoadAligned() [1/2]

MAXON_ATTRIBUTE_FORCE_INLINE void LoadAligned ( const Float32 p)

◆ LoadAligned() [2/2]

MAXON_ATTRIBUTE_FORCE_INLINE void LoadAligned ( const Float64 p)

◆ StoreUnaligned()

MAXON_ATTRIBUTE_FORCE_INLINE void StoreUnaligned ( Float32 p) const

◆ GetTransposed()

MAXON_ATTRIBUTE_FORCE_INLINE Matrix4f32 GetTransposed ( ) const

◆ Multiply()

MAXON_ATTRIBUTE_FORCE_INLINE Vector4f32 Multiply ( const Vector4f32 x,
const Vector4f32 y,
const Vector4f32 z,
const Vector4f32 w 
) const

Friends And Related Function Documentation

◆ operator* [1/2]

MAXON_ATTRIBUTE_FORCE_INLINE friend Vector4f32 operator* ( const Matrix4f32 m,
const Vector4f32 v 
)
friend

◆ operator* [2/2]

MAXON_ATTRIBUTE_FORCE_INLINE friend Matrix4f32 operator* ( const Matrix4f32 a,
const Matrix4f32 b 
)
friend

Member Data Documentation

◆ v0

Vector4f32 v0
private

◆ v1

Vector4f32 v1
private

◆ v2

Vector4f32 v2
private

◆ v3

Vector4f32 v3
private