Public Member Functions | |
| auto | index (e:core::ffi::c_int) const -> &bool |
| auto | index_mut (e:core::ffi::c_int) -> &mut bool |
| auto | length_sq () const -> core::ffi::c_int |
| auto | length () const -> f64 |
Static Public Member Functions | |
| static auto | new () -> meshlib::Vector2b |
| static auto | construct_1 (_1:&meshlib::NoInit) -> meshlib::Vector2b |
| static auto | construct_2 (x:bool, y:bool) -> meshlib::Vector2b |
| static auto | diagonal (a:bool) -> meshlib::Vector2b |
| static auto | plus_x () -> meshlib::Vector2b |
| static auto | plus_y () -> meshlib::Vector2b |
| static auto | elements () -> *const core::ffi::c_int |
Public Attributes | |
| bool | x |
| bool | y |
two-dimensional vector Generated from class MR::Vector2b.
Generated from struct MR::Vector2b. The fields are accessed directly.
|
static |
Generated from constructor MR::Vector2b::Vector2b.
Calls MR_Vector2b_Construct_1(). The reference to the parameter _1 might be preserved in the constructed object.
|
static |
Generated from constructor MR::Vector2b::Vector2b.
Calls MR_Vector2b_Construct_2().
|
static |
Generated from method MR::Vector2b::diagonal.
Calls MR_Vector2b_diagonal().
|
static |
Returns a pointer to a member variable of class MR::Vector2b named elements.
Calls MR_Vector2b_Get_elements().
| auto meshlib::Vector2b::index | ( | e:core::ffi::c_int | ) | const -> &bool |
Generated from method MR::Vector2b::operator[].
Calls MR_Vector2b_index().
| auto meshlib::Vector2b::index_mut | ( | e:core::ffi::c_int | ) | -> &mut bool |
Generated from method MR::Vector2b::operator[].
Calls MR_Vector2b_index_mut().
| auto meshlib::Vector2b::length | ( | ) | const -> f64 |
Generated from method MR::Vector2b::length.
Calls MR_Vector2b_length().
| auto meshlib::Vector2b::length_sq | ( | ) | const -> core::ffi::c_int |
Generated from method MR::Vector2b::lengthSq.
Calls MR_Vector2b_lengthSq().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Vector2b_DefaultConstruct().
|
static |
Generated from method MR::Vector2b::plusX.
Calls MR_Vector2b_plusX().
|
static |
Generated from method MR::Vector2b::plusY.
Calls MR_Vector2b_plusY().
| bool meshlib::Vector2b::x |
| bool meshlib::Vector2b::y |