45 for (
int i = 0; i < 3; i++)
51 for (
int i = 0; i < 3; i++)
57 for (
int i = 0; i < 3; i++)
63 for (
int i = 0; i < 3; i++)
69 for (
int i = 0; i < 3; i++)
76 for (
int i = 0; i < 3; i++)
83 return sqrtf(
dot(a, a));
96 for (
int i = 0; i < 3; i++)
109 #endif // #ifndef NVBLASTMATH_H NV_INLINE void add(const float a[3], float b[3])
Definition: NvBlastMath.h:55
NV_INLINE float dist(const float a[3], const float b[3])
Definition: NvBlastMath.h:86
NV_INLINE float normal(const float a[3], float r[3])
Definition: NvBlastMath.h:93
NV_INLINE void sub(const float a[3], const float b[3], float r[3])
Definition: NvBlastMath.h:67
NV_INLINE void div(float a[3], float divisor)
Definition: NvBlastMath.h:43
#define NV_INLINE
Definition: NvPreprocessor.h:350
NV_INLINE float dot(const float a[3], const float b[3])
Definition: NvBlastMath.h:73
NV_INLINE void mul(float a[3], float multiplier)
Definition: NvBlastMath.h:49
NV_INLINE float length(const float a[3])
Definition: NvBlastMath.h:81
Definition: NvBlastArray.h:37