#include <math_Vector2.h>
Inherits nw::math::VEC2_.
◆ self_type
◆ value_type
◆ VEC2() [1/4]
◆ VEC2() [2/4]
| nw::math::VEC2::VEC2 |
( |
const f32 * | p | ) |
|
|
inlineexplicit |
◆ VEC2() [3/4]
| nw::math::VEC2::VEC2 |
( |
const VEC2_ & | v | ) |
|
|
inlineexplicit |
◆ VEC2() [4/4]
| nw::math::VEC2::VEC2 |
( |
f32 | fx, |
|
|
f32 | fy ) |
|
inline |
◆ Zero()
| const VEC2 & nw::math::VEC2::Zero |
( |
| ) |
|
|
inlinestatic |
◆ operator f32 *()
| nw::math::VEC2::operator f32 * |
( |
| ) |
|
|
inline |
◆ operator const f32 *()
| nw::math::VEC2::operator const f32 * |
( |
| ) |
const |
|
inline |
◆ ToF32() [1/2]
| f32 * nw::math::VEC2::ToF32 |
( |
| ) |
|
|
inline |
◆ ToF32() [2/2]
| const f32 * nw::math::VEC2::ToF32 |
( |
| ) |
const |
|
inline |
◆ Cast() [1/2]
template<typename ToPtr>
| ToPtr nw::math::VEC2::Cast |
( |
| ) |
|
|
inline |
◆ Cast() [2/2]
template<typename ToPtr>
| ToPtr nw::math::VEC2::Cast |
( |
| ) |
const |
|
inline |
◆ operator+=()
◆ operator-=()
◆ operator*=()
| self_type & nw::math::VEC2::operator*= |
( |
f32 | f | ) |
|
|
inline |
◆ operator/=()
| self_type & nw::math::VEC2::operator/= |
( |
f32 | f | ) |
|
|
inline |
◆ operator+() [1/2]
| self_type nw::math::VEC2::operator+ |
( |
| ) |
const |
|
inline |
◆ operator-() [1/2]
| self_type nw::math::VEC2::operator- |
( |
| ) |
const |
|
inline |
◆ operator+() [2/2]
◆ operator-() [2/2]
◆ operator*()
| self_type nw::math::VEC2::operator* |
( |
f32 | f | ) |
const |
|
inline |
◆ operator/()
| self_type nw::math::VEC2::operator/ |
( |
f32 | f | ) |
const |
|
inline |
◆ Lerp()
◆ Dot()
| f32 nw::math::VEC2::Dot |
( |
const VEC2 & | vec | ) |
const |
|
inline |
◆ LengthSquare()
| f32 nw::math::VEC2::LengthSquare |
( |
| ) |
const |
|
inline |
◆ Length()
| f32 nw::math::VEC2::Length |
( |
| ) |
const |
|
inline |
◆ Normalize()
◆ SetNormalize()
◆ SafeNormalize()
◆ SetSafeNormalize()
◆ DistanceSquare()
| f32 nw::math::VEC2::DistanceSquare |
( |
const VEC2 & | vec | ) |
|
|
inline |
◆ SetMaximize()
◆ SetMinimize()
◆ Set()
| void nw::math::VEC2::Set |
( |
f32 | fx, |
|
|
f32 | fy ) |
|
inline |
◆ operator==()
| bool nw::math::VEC2::operator== |
( |
const self_type & | rhs | ) |
const |
|
inline |
◆ operator!=()
| bool nw::math::VEC2::operator!= |
( |
const self_type & | rhs | ) |
const |
|
inline |
◆ IsZero()
| bool nw::math::VEC2::IsZero |
( |
| ) |
const |
|
inline |
◆ DIMENSION
| const int nw::math::VEC2::DIMENSION = 2 |
|
static |