#include <vec2.h>
Definition at line 32 of file vec2.h.
◆ vec2f() [1/4]
◆ vec2f() [2/4]
constexpr eu::vec2f::vec2f |
( |
float |
ax, |
|
|
float |
ay |
|
) |
| |
|
inlineconstexpr |
◆ vec2f() [3/4]
eu::vec2f::vec2f |
( |
const std::tuple< float, float > & |
a | ) |
|
|
explicit |
◆ vec2f() [4/4]
eu::vec2f::vec2f |
( |
const unit2f & |
u | ) |
|
|
explicit |
◆ from_to()
◆ get_data_ptr() [1/2]
float * eu::vec2f::get_data_ptr |
( |
| ) |
|
◆ get_data_ptr() [2/2]
const float * eu::vec2f::get_data_ptr |
( |
| ) |
const |
◆ get_flipped_y()
vec2f eu::vec2f::get_flipped_y |
( |
| ) |
const |
◆ get_length()
float eu::vec2f::get_length |
( |
| ) |
const |
◆ get_length_squared()
float eu::vec2f::get_length_squared |
( |
| ) |
const |
◆ get_normalized()
unit2f eu::vec2f::get_normalized |
( |
| ) |
const |
◆ get_normalized_and_length()
◆ get_rotated()
vec2f eu::vec2f::get_rotated |
( |
const Angle & |
a | ) |
const |
◆ normalize()
float eu::vec2f::normalize |
( |
| ) |
|
◆ operator*=()
void eu::vec2f::operator*= |
( |
float |
rhs | ) |
|
◆ operator+=()
void eu::vec2f::operator+= |
( |
const vec2f & |
rhs | ) |
|
◆ operator-()
vec2f eu::vec2f::operator- |
( |
| ) |
const |
◆ operator-=()
void eu::vec2f::operator-= |
( |
const vec2f & |
rhs | ) |
|
◆ operator/=()
void eu::vec2f::operator/= |
( |
float |
rhs | ) |
|
◆ to_i()
vec2i eu::vec2f::to_i |
( |
| ) |
const |
The documentation for this struct was generated from the following files: