OGRE-Next: Ogre::SimpleMatrix4 Class Reference

| OGRE-Next 3.0.0 Object-Oriented Graphics Rendering Engine

Loading...
Searching...
No Matches
Ogre::SimpleMatrix4 Class Reference
Core » Math

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.
void | load (const Matrix4 &src)
| Assumes src is aligned.
void | load (const Matrix4 &src)
| Assumes src is aligned.

## 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, and mChunkBase.

## ◆ load() [2/3]

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

Assumes src is aligned.

References Ogre::Matrix4::_m, and mChunkBase.

## ◆ load() [3/3]

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

Assumes src is aligned.

References Ogre::Matrix4::_m, and mChunkBase.

## Member Data Documentation

## ◆ mChunkBase

ArrayReal Ogre::SimpleMatrix4::mChunkBase

Referenced by load().

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

- C/OgreArrayMatrix4.h
- NEON/Single/OgreArrayMatrix4.h
- SSE2/Single/OgreArrayMatrix4.h