Public Member Functions | |
| auto | index (e:core::ffi::c_int) const -> &i64 |
| auto | index_mut (e:core::ffi::c_int) -> &mut i64 |
| auto | length_sq () const -> i64 |
| auto | length () const -> f64 |
| auto | furthest_basis_vector () const -> meshlib::Vector2i64 |
| auto | perpendicular () const -> meshlib::Vector2i64 |
Static Public Member Functions | |
| static auto | new () -> meshlib::Vector2i64 |
| static auto | construct_1 (_1:&meshlib::NoInit) -> meshlib::Vector2i64 |
| static auto | construct_2 (x:i64, y:i64) -> meshlib::Vector2i64 |
| static auto | diagonal (a:i64) -> meshlib::Vector2i64 |
| static auto | plus_x () -> meshlib::Vector2i64 |
| static auto | plus_y () -> meshlib::Vector2i64 |
| static auto | minus_x () -> meshlib::Vector2i64 |
| static auto | minus_y () -> meshlib::Vector2i64 |
| static auto | elements () -> *const core::ffi::c_int |
Public Attributes | |
| i64 | x |
| i64 | y |
two-dimensional vector Generated from class MR::Vector2i64.
Generated from struct MR::Vector2i64. The fields are accessed directly.
|
static |
Generated from constructor MR::Vector2i64::Vector2i64.
Calls MR_Vector2i64_Construct_1(). The reference to the parameter _1 might be preserved in the constructed object.
|
static |
Generated from constructor MR::Vector2i64::Vector2i64.
Calls MR_Vector2i64_Construct_2(). The reference to the parameter x might be preserved in the constructed object. The reference to the parameter y might be preserved in the constructed object.
|
static |
Generated from method MR::Vector2i64::diagonal.
Calls MR_Vector2i64_diagonal().
|
static |
Returns a pointer to a member variable of class MR::Vector2i64 named elements.
Calls MR_Vector2i64_Get_elements().
| auto meshlib::Vector2i64::furthest_basis_vector | ( | ) | const -> meshlib::Vector2i64 |
returns one of 2 basis unit vector that makes the biggest angle with the direction specified by this Generated from method MR::Vector2i64::furthestBasisVector.
Calls MR_Vector2i64_furthestBasisVector().
| auto meshlib::Vector2i64::index | ( | e:core::ffi::c_int | ) | const -> &i64 |
Generated from method MR::Vector2i64::operator[].
Calls MR_Vector2i64_index().
| auto meshlib::Vector2i64::index_mut | ( | e:core::ffi::c_int | ) | -> &mut i64 |
Generated from method MR::Vector2i64::operator[].
Calls MR_Vector2i64_index_mut().
| auto meshlib::Vector2i64::length | ( | ) | const -> f64 |
Generated from method MR::Vector2i64::length.
Calls MR_Vector2i64_length().
| auto meshlib::Vector2i64::length_sq | ( | ) | const -> i64 |
Generated from method MR::Vector2i64::lengthSq.
Calls MR_Vector2i64_lengthSq().
|
static |
Generated from method MR::Vector2i64::minusX.
Calls MR_Vector2i64_minusX().
|
static |
Generated from method MR::Vector2i64::minusY.
Calls MR_Vector2i64_minusY().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Vector2i64_DefaultConstruct().
| auto meshlib::Vector2i64::perpendicular | ( | ) | const -> meshlib::Vector2i64 |
returns same length vector orthogonal to this (rotated 90 degrees counter-clockwise) Generated from method MR::Vector2i64::perpendicular.
Calls MR_Vector2i64_perpendicular().
|
static |
Generated from method MR::Vector2i64::plusX.
Calls MR_Vector2i64_plusX().
|
static |
Generated from method MR::Vector2i64::plusY.
Calls MR_Vector2i64_plusY().
| i64 meshlib::Vector2i64::x |
| i64 meshlib::Vector2i64::y |