Public Member Functions | |
| auto | index (e:core::ffi::c_int) const -> &f32 |
| auto | index_mut (e:core::ffi::c_int) -> &mut f32 |
| auto | length_sq () const -> f32 |
| auto | length () const -> f32 |
| auto | normalized () const -> meshlib::Vector2f |
| auto | furthest_basis_vector () const -> meshlib::Vector2f |
| auto | perpendicular () const -> meshlib::Vector2f |
| auto | is_finite () const -> bool |
Static Public Member Functions | |
| static auto | new () -> meshlib::Vector2f |
| static auto | construct_1 (_1:&meshlib::NoInit) -> meshlib::Vector2f |
| static auto | construct_2 (x:f32, y:f32) -> meshlib::Vector2f |
| static auto | diagonal (a:f32) -> meshlib::Vector2f |
| static auto | plus_x () -> meshlib::Vector2f |
| static auto | plus_y () -> meshlib::Vector2f |
| static auto | minus_x () -> meshlib::Vector2f |
| static auto | minus_y () -> meshlib::Vector2f |
| static auto | elements () -> *const core::ffi::c_int |
Public Attributes | |
| f32 | x |
| f32 | y |
Generated from class MR::Vector2f.
Generated from struct MR::Vector2f. The fields are accessed directly.
|
static |
Generated from constructor MR::Vector2f::Vector2f.
Calls MR_Vector2f_Construct_1(). The reference to the parameter _1 might be preserved in the constructed object.
|
static |
Generated from constructor MR::Vector2f::Vector2f.
Calls MR_Vector2f_Construct_2().
|
static |
Generated from method MR::Vector2f::diagonal.
Calls MR_Vector2f_diagonal().
|
static |
Returns a pointer to a member variable of class MR::Vector2f named elements.
Calls MR_Vector2f_Get_elements().
| auto meshlib::Vector2f::furthest_basis_vector | ( | ) | const -> meshlib::Vector2f |
Generated from method MR::Vector2f::furthestBasisVector.
Calls MR_Vector2f_furthestBasisVector().
| auto meshlib::Vector2f::index | ( | e:core::ffi::c_int | ) | const -> &f32 |
Generated from method MR::Vector2f::operator[].
Calls MR_Vector2f_index().
| auto meshlib::Vector2f::index_mut | ( | e:core::ffi::c_int | ) | -> &mut f32 |
Generated from method MR::Vector2f::operator[].
Calls MR_Vector2f_index_mut().
| auto meshlib::Vector2f::is_finite | ( | ) | const -> bool |
Generated from method MR::Vector2f::isFinite.
Calls MR_Vector2f_isFinite().
| auto meshlib::Vector2f::length | ( | ) | const -> f32 |
Generated from method MR::Vector2f::length.
Calls MR_Vector2f_length().
| auto meshlib::Vector2f::length_sq | ( | ) | const -> f32 |
Generated from method MR::Vector2f::lengthSq.
Calls MR_Vector2f_lengthSq().
|
static |
Generated from method MR::Vector2f::minusX.
Calls MR_Vector2f_minusX().
|
static |
Generated from method MR::Vector2f::minusY.
Calls MR_Vector2f_minusY().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Vector2f_DefaultConstruct().
| auto meshlib::Vector2f::normalized | ( | ) | const -> meshlib::Vector2f |
Generated from method MR::Vector2f::normalized.
Calls MR_Vector2f_normalized().
| auto meshlib::Vector2f::perpendicular | ( | ) | const -> meshlib::Vector2f |
returns same length vector orthogonal to this (rotated 90 degrees counter-clockwise) Generated from method MR::Vector2f::perpendicular.
Calls MR_Vector2f_perpendicular().
|
static |
Generated from method MR::Vector2f::plusX.
Calls MR_Vector2f_plusX().
|
static |
Generated from method MR::Vector2f::plusY.
Calls MR_Vector2f_plusY().
| f32 meshlib::Vector2f::x |
| f32 meshlib::Vector2f::y |