mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Simple SSE3 skinning algorithm
Future direction: do lots of work such that hsMatrix44 and hsScalarTriple are 16-byte aligned so that we can use faster aligned loads
This commit is contained in:
@ -177,6 +177,12 @@ inline float hsRadiansToDegrees(float rad) { return float(rad * (180 / M_PI)); }
|
||||
#include <new>
|
||||
#define NEWZERO(t) new(calloc(sizeof(t), 1)) t
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# define ALIGN(n) __declspec(align(n))
|
||||
#else
|
||||
# define ALIGN(n) __atribute__(aligned(n))
|
||||
#endif
|
||||
|
||||
/////////////////////////////
|
||||
// Physical memory functions
|
||||
/////////////////////////////
|
||||
|
Reference in New Issue
Block a user