|
JPL Spatial
Sound spatialization and propagation library
|
#include <JPLSpatial/Math/MinimalVec2.h>
Public Member Functions | |
| 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 Public Member Functions | |
| static JPL_INLINE constexpr Vec2 | Zero () noexcept |
Public Attributes | |
| float | X |
| float | Y |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
| float JPL::Vec2::X |
| float JPL::Vec2::Y |