NW4F Sys
Loading...
Searching...
No Matches
math_Vector2.h File Reference

Go to the source code of this file.

Classes

struct  nw::math::VEC2_
struct  nw::math::VEC2

Namespaces

namespace  nw
namespace  nw::math
namespace  nw::math::internal
namespace  nw::math::internal::standard

Typedefs

typedef struct VEC2 nw::math::Vector2

Functions

VEC2nw::math::internal::standard::VEC2Maximize (VEC2 *pOut, const VEC2 *p1, const VEC2 *p2)
VEC2nw::math::internal::standard::VEC2Minimize (VEC2 *pOut, const VEC2 *p1, const VEC2 *p2)
NW_MATH_INLINE bool nw::math::VEC2IsZero (const VEC2 *p)
NW_MATH_INLINE VEC2nw::math::VEC2Lerp (VEC2 *pOut, const VEC2 *p1, const VEC2 *p2, f32 t)
NW_MATH_INLINE f32 nw::math::VEC2Dot (const VEC2 *p1, const VEC2 *p2)
NW_MATH_INLINE VEC2nw::math::VEC2Maximize (VEC2 *pOut, const VEC2 *p1, const VEC2 *p2)
NW_MATH_INLINE VEC2nw::math::VEC2Minimize (VEC2 *pOut, const VEC2 *p1, const VEC2 *p2)
VEC2nw::math::VEC2Normalize (VEC2 *pOut, const VEC2 *p)
VEC2nw::math::VEC2FastNormalize (VEC2 *pOut, const VEC2 *p)
VEC2nw::math::VEC2SafeNormalize (VEC2 *pOut, const VEC2 *p, const VEC2 &alt)
VEC2nw::math::VEC2FastSafeNormalize (VEC2 *pOut, const VEC2 *p, const VEC2 &alt)
NW_MATH_INLINE f32 nw::math::VEC2DistSq (const VEC2 *p1, const VEC2 *p2)
NW_INLINE VEC2nw::math::internal::standard::VEC2Add (VEC2 *pOut, const VEC2 *p1, const VEC2 *p2)
NW_INLINE VEC2nw::math::internal::standard::VEC2Sub (VEC2 *pOut, const VEC2 *p1, const VEC2 *p2)
NW_INLINE VEC2nw::math::internal::standard::VEC2Scale (VEC2 *pOut, const VEC2 *p, f32 scale)
NW_INLINE VEC2nw::math::internal::standard::VEC2Lerp (VEC2 *pOut, const VEC2 *p1, const VEC2 *p2, f32 t)
NW_INLINE f32 nw::math::internal::standard::VEC2Dot (const VEC2 *p1, const VEC2 *p2)
NW_INLINE f32 nw::math::internal::standard::VEC2LenSq (const VEC2 *p)
NW_INLINE f32 nw::math::internal::standard::VEC2DistSq (const VEC2 *p1, const VEC2 *p2)
VEC2nw::math::VEC2Add (VEC2 *pOut, const VEC2 *p1, const VEC2 *p2)
VEC2nw::math::VEC2Sub (VEC2 *pOut, const VEC2 *p1, const VEC2 *p2)
VEC2nw::math::VEC2Scale (VEC2 *pOut, const VEC2 *p, f32 scale)
f32 nw::math::VEC2LenSq (const VEC2 *p)
f32 nw::math::VEC2Len (const VEC2 *p)
VEC2 nw::math::operator* (f32 f, const VEC2 &rhs)
bool nw::math::VEC2IsZero (const VEC2 &v)
VEC2nw::math::VEC2Add (VEC2 *pOut, const VEC2 &p1, const VEC2 &p2)
VEC2nw::math::VEC2Sub (VEC2 *pOut, const VEC2 &v1, const VEC2 &v2)
VEC2nw::math::VEC2Scale (VEC2 *pOut, const VEC2 &v, f32 scale)
VEC2nw::math::VEC2Lerp (VEC2 *pOut, const VEC2 &v1, const VEC2 &v2, f32 t)
f32 nw::math::VEC2Dot (const VEC2 &v1, const VEC2 &v2)
f32 nw::math::VEC2LenSq (const VEC2 &v)
f32 nw::math::VEC2Len (const VEC2 &v)
f32 nw::math::VEC2DistSq (const VEC2 &v1, const VEC2 &v2)
VEC2nw::math::VEC2Maximize (VEC2 *pOut, const VEC2 &v1, const VEC2 &v2)
VEC2nw::math::VEC2Minimize (VEC2 *pOut, const VEC2 &v1, const VEC2 &v2)
VEC2nw::math::VEC2Normalize (VEC2 *pOut, const VEC2 &v)
VEC2nw::math::VEC2FastNormalize (VEC2 *pOut, const VEC2 &v)
VEC2nw::math::VEC2SafeNormalize (VEC2 *pOut, const VEC2 &v, const VEC2 &alt)
VEC2nw::math::VEC2FastSafeNormalize (VEC2 *pOut, const VEC2 &v, const VEC2 &alt)