OGRE  2.2.4
Object-Oriented Graphics Rendering Engine
Ogre::SimpleMatrix4 Class Reference

Simple wrap up to load an AoS matrix 4x4 using SSE. More...

#include <OgreArrayMatrix4.h>

Public Member Functions

void load (const Matrix4 &src)
 Assumes src is aligned. More...
 
void load (const Matrix4 &src)
 Assumes src is aligned. More...
 
void load (const Matrix4 &src)
 Assumes src is aligned. More...
 

Public Attributes

ArrayReal mChunkBase [16]
 

Detailed Description

Simple wrap up to load an AoS matrix 4x4 using SSE.

The main reason of this class is to force MSVC to use 4 movaps to load arrays of Matrix4s (which are waaay more efficient that whatever lea+mov junk it tries to produce)

Member Function Documentation

◆ load() [1/3]

void Ogre::SimpleMatrix4::load ( const Matrix4 src)
inline

Assumes src is aligned.

References Ogre::Matrix4::_m.

◆ load() [2/3]

void Ogre::SimpleMatrix4::load ( const Matrix4 src)
inline

Assumes src is aligned.

References Ogre::Matrix4::_m.

◆ load() [3/3]

void Ogre::SimpleMatrix4::load ( const Matrix4 src)
inline

Assumes src is aligned.

References Ogre::Matrix4::_m.

Member Data Documentation

◆ mChunkBase

ArrayReal Ogre::SimpleMatrix4::mChunkBase

The documentation for this class was generated from the following file: