Ark Server API (ASA) - Wiki
|
Go to the source code of this file.
Macros | |
#define | ENABLE_VECTORIZED_TRANSFORM PLATFORM_ENABLE_VECTORINTRINSICS |
#define | ScalarRegister float |
#define | ScalarOne 1.0f |
#define | ScalarZero 0.0f |
#define | ScalarMin Min |
#define | ScalarMax Max |
#define | ScalarReciprocal(A) (1.0f / (A)) |
#define | NonZeroAnimWeight(A) ((A) > ZERO_ANIMWEIGHT_THRESH) |
#define | NonOneAnimWeight(A) ((A) < 1.0f - ZERO_ANIMWEIGHT_THRESH) |
#define ENABLE_VECTORIZED_TRANSFORM PLATFORM_ENABLE_VECTORINTRINSICS |
This define controls whether a scalar implementation or vector implementation is used for FTransform. The vector implementation works even when using UnMathFPU, but it will be much slower than the equivalent scalar implementation, so the scalar code is maintained and enabled when vector intrinsics are off.
Definition at line 15 of file ScalarRegister.h.
#define NonOneAnimWeight | ( | A | ) | ((A) < 1.0f - ZERO_ANIMWEIGHT_THRESH) |
Definition at line 248 of file ScalarRegister.h.
#define NonZeroAnimWeight | ( | A | ) | ((A) > ZERO_ANIMWEIGHT_THRESH) |
Definition at line 247 of file ScalarRegister.h.
Definition at line 243 of file ScalarRegister.h.
Definition at line 242 of file ScalarRegister.h.
#define ScalarOne 1.0f |
Definition at line 239 of file ScalarRegister.h.
Definition at line 245 of file ScalarRegister.h.
Definition at line 237 of file ScalarRegister.h.
#define ScalarZero 0.0f |
Definition at line 240 of file ScalarRegister.h.