OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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)

Definition at line 221 of file C/OgreArrayMatrix4.h.

Member Function Documentation

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

Assumes src is aligned.

Definition at line 227 of file C/OgreArrayMatrix4.h.

References Ogre::Matrix4::_m.

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

Assumes src is aligned.

Definition at line 227 of file SSE2/Single/OgreArrayMatrix4.h.

References Ogre::Matrix4::_m.

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

Assumes src is aligned.

Definition at line 242 of file NEON/Single/OgreArrayMatrix4.h.

References Ogre::Matrix4::_m.

Member Data Documentation

ArrayReal Ogre::SimpleMatrix4::mChunkBase

Definition at line 224 of file C/OgreArrayMatrix4.h.


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