#include <JPLSpatial/Math/MinimalVec2.h>
|
| JPL_INLINE constexpr float | LengthSquared () const noexcept |
| |
| JPL_INLINE constexpr float | Length () const noexcept |
| |
| JPL_INLINE constexpr Vec2 & | Normalize () noexcept |
| |
| JPL_INLINE constexpr Vec2 | operator- () const noexcept |
| |
| JPL_INLINE constexpr Vec2 | operator- (const Vec2 &V) const noexcept |
| |
| JPL_INLINE constexpr Vec2 | operator+ (const Vec2 &V) const noexcept |
| |
template<typename Arg >
requires (std::is_arithmetic_v<Arg>) |
| JPL_INLINE constexpr Vec2 | operator* (Arg Scale) const noexcept |
| |
template<typename Arg >
requires (std::is_arithmetic_v<Arg>) |
| JPL_INLINE constexpr Vec2 | operator/ (Arg Scale) const noexcept |
| |
template<typename Arg >
requires (std::is_arithmetic_v<Arg>) |
| JPL_INLINE constexpr Vec2 & | operator/= (Arg Scale) noexcept |
| |
| JPL_INLINE constexpr void | operator+= (const Vec2 &V) noexcept |
| |
|
| static JPL_INLINE constexpr Vec2 | Zero () noexcept |
| |
◆ Length()
| JPL_INLINE constexpr float JPL::Vec2::Length |
( |
| ) |
const |
|
inlinenodiscardconstexprnoexcept |
◆ LengthSquared()
| JPL_INLINE constexpr float JPL::Vec2::LengthSquared |
( |
| ) |
const |
|
inlinenodiscardconstexprnoexcept |
◆ Normalize()
| JPL_INLINE constexpr Vec2 & JPL::Vec2::Normalize |
( |
| ) |
|
|
inlineconstexprnoexcept |
◆ operator*()
template<typename Arg >
requires (std::is_arithmetic_v<Arg>)
| JPL_INLINE constexpr Vec2 JPL::Vec2::operator* |
( |
Arg | Scale | ) |
const |
|
inlinenodiscardconstexprnoexcept |
◆ operator+()
| JPL_INLINE constexpr Vec2 JPL::Vec2::operator+ |
( |
const Vec2 & | V | ) |
const |
|
inlinenodiscardconstexprnoexcept |
◆ operator+=()
| JPL_INLINE constexpr void JPL::Vec2::operator+= |
( |
const Vec2 & | V | ) |
|
|
inlineconstexprnoexcept |
◆ operator-() [1/2]
| JPL_INLINE constexpr Vec2 JPL::Vec2::operator- |
( |
| ) |
const |
|
inlinenodiscardconstexprnoexcept |
◆ operator-() [2/2]
| JPL_INLINE constexpr Vec2 JPL::Vec2::operator- |
( |
const Vec2 & | V | ) |
const |
|
inlinenodiscardconstexprnoexcept |
◆ operator/()
template<typename Arg >
requires (std::is_arithmetic_v<Arg>)
| JPL_INLINE constexpr Vec2 JPL::Vec2::operator/ |
( |
Arg | Scale | ) |
const |
|
inlinenodiscardconstexprnoexcept |
◆ operator/=()
template<typename Arg >
requires (std::is_arithmetic_v<Arg>)
| JPL_INLINE constexpr Vec2 & JPL::Vec2::operator/= |
( |
Arg | Scale | ) |
|
|
inlineconstexprnoexcept |
◆ Zero()
| static JPL_INLINE constexpr Vec2 JPL::Vec2::Zero |
( |
| ) |
|
|
inlinestaticnodiscardconstexprnoexcept |
The documentation for this struct was generated from the following file: