![]() |
#include "foundation/Px.h"#include "foundation/PxSharedAssert.h"#include <math.h>#include <float.h>Go to the source code of this file.
Functions | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE float | abs (float a) |
| platform-specific absolute value More... | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE float | fsel (float a, float b, float c) |
| platform-specific select float More... | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE float | sign (float a) |
| platform-specific sign More... | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE float | recip (float a) |
| platform-specific reciprocal More... | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE float | recipFast (float a) |
| platform-specific reciprocal estimate More... | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE float | sqrt (float a) |
| platform-specific square root More... | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE float | recipSqrt (float a) |
| platform-specific reciprocal square root More... | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE float | recipSqrtFast (float a) |
| platform-specific reciprocal square root estimate More... | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE float | sin (float a) |
| platform-specific sine More... | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE float | cos (float a) |
| platform-specific cosine More... | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE float | selectMin (float a, float b) |
| platform-specific minimum More... | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE float | selectMax (float a, float b) |
| platform-specific maximum More... | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE bool | isFinite (float a) |
| platform-specific finiteness check (not INF or NAN) More... | |
| PX_CUDA_CALLABLE PX_FORCE_INLINE bool | isFinite (double a) |
| platform-specific finiteness check (not INF or NAN) More... | |
| PX_FORCE_INLINE void * | memZero (void *dest, uint32_t count) |
| PX_FORCE_INLINE void * | memSet (void *dest, int32_t c, uint32_t count) |
| PX_FORCE_INLINE void * | memCopy (void *dest, const void *src, uint32_t count) |
| PX_FORCE_INLINE void * | memMove (void *dest, const void *src, uint32_t count) |
| PX_FORCE_INLINE void | memZero128 (void *dest, uint32_t offset=0) |
| PX_CUDA_CALLABLE PX_FORCE_INLINE float abs | ( | float | a | ) |
platform-specific absolute value
Referenced by PxStrideIterator< T >::isCompatible(), and PxAbs().
| PX_CUDA_CALLABLE PX_FORCE_INLINE float cos | ( | float | a | ) |
platform-specific cosine
Referenced by PxCos().
| PX_CUDA_CALLABLE PX_FORCE_INLINE float fsel | ( | float | a, |
| float | b, | ||
| float | c | ||
| ) |
platform-specific select float
| PX_CUDA_CALLABLE PX_FORCE_INLINE bool isFinite | ( | float | a | ) |
platform-specific finiteness check (not INF or NAN)
| PX_CUDA_CALLABLE PX_FORCE_INLINE bool isFinite | ( | double | a | ) |
platform-specific finiteness check (not INF or NAN)
| PX_FORCE_INLINE void* memCopy | ( | void * | dest, |
| const void * | src, | ||
| uint32_t | count | ||
| ) |
Copies count bytes from src to dst. User memMove if regions overlap.
| PX_FORCE_INLINE void* memMove | ( | void * | dest, |
| const void * | src, | ||
| uint32_t | count | ||
| ) |
Copies count bytes from src to dst. Supports overlapping regions.
| PX_FORCE_INLINE void* memSet | ( | void * | dest, |
| int32_t | c, | ||
| uint32_t | count | ||
| ) |
Sets count bytes starting at dst to c.
| PX_FORCE_INLINE void* memZero | ( | void * | dest, |
| uint32_t | count | ||
| ) |
Sets count bytes starting at dst to zero.
| PX_FORCE_INLINE void memZero128 | ( | void * | dest, |
| uint32_t | offset = 0 |
||
| ) |
Set 128B to zero starting at dst+offset. Must be aligned.
References physx::intrinsics::memSet(), and PX_SHARED_ASSERT.
| PX_CUDA_CALLABLE PX_FORCE_INLINE float recip | ( | float | a | ) |
platform-specific reciprocal
| PX_CUDA_CALLABLE PX_FORCE_INLINE float recipFast | ( | float | a | ) |
platform-specific reciprocal estimate
| PX_CUDA_CALLABLE PX_FORCE_INLINE float recipSqrt | ( | float | a | ) |
platform-specific reciprocal square root
| PX_CUDA_CALLABLE PX_FORCE_INLINE float recipSqrtFast | ( | float | a | ) |
platform-specific reciprocal square root estimate
| PX_CUDA_CALLABLE PX_FORCE_INLINE float selectMax | ( | float | a, |
| float | b | ||
| ) |
platform-specific maximum
| PX_CUDA_CALLABLE PX_FORCE_INLINE float selectMin | ( | float | a, |
| float | b | ||
| ) |
platform-specific minimum
| PX_CUDA_CALLABLE PX_FORCE_INLINE float sign | ( | float | a | ) |
platform-specific sign
| PX_CUDA_CALLABLE PX_FORCE_INLINE float sin | ( | float | a | ) |
platform-specific sine
Referenced by PxSin().
| PX_CUDA_CALLABLE PX_FORCE_INLINE float sqrt | ( | float | a | ) |
platform-specific square root
Referenced by PxRecipSqrt(), and PxSqrt().