1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-21 12:49:10 +00:00

Aligned matrix loading

This commit is contained in:
2013-06-12 16:06:47 -04:00
parent 8c37858de8
commit 48f232c3a0
5 changed files with 140 additions and 6 deletions

View File

@ -63,7 +63,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#ifndef _plDrawableSpans_h
#define _plDrawableSpans_h
#include "hsAlignedAllocator.hpp"
#include "hsBitVector.h"
#include "hsTemplates.h"
#include "plDrawable.h"
@ -132,7 +132,7 @@ class plDrawableSpans : public plDrawable
hsMatrix44 fLocalToWorld;
hsMatrix44 fWorldToLocal;
std::vector<hsMatrix44> fLocalToWorlds;
std::vector<hsMatrix44, hsAlignedAllocator<hsMatrix44>> fLocalToWorlds; // used in SIMD skinning
std::vector<hsMatrix44> fWorldToLocals;
std::vector<hsMatrix44> fLocalToBones;