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::Vector4f |
| auto | proj3d () const -> meshlib::Vector3f |
| auto | is_finite () const -> bool |
Static Public Member Functions | |
| static auto | new () -> meshlib::Vector4f |
| static auto | construct_1 (_1:&meshlib::NoInit) -> meshlib::Vector4f |
| static auto | construct_4 (x:f32, y:f32, z:f32, w:f32) -> meshlib::Vector4f |
| static auto | diagonal (a:f32) -> meshlib::Vector4f |
| static auto | elements () -> *const core::ffi::c_int |
Public Attributes | |
| f32 | x |
| f32 | y |
| f32 | z |
| f32 | w |
four-dimensional vector Generated from class MR::Vector4f.
Generated from struct MR::Vector4f. The fields are accessed directly.
|
static |
Generated from constructor MR::Vector4f::Vector4f.
Calls MR_Vector4f_Construct_1(). The reference to the parameter _1 might be preserved in the constructed object.
|
static |
Generated from constructor MR::Vector4f::Vector4f.
Calls MR_Vector4f_Construct_4().
|
static |
Generated from method MR::Vector4f::diagonal.
Calls MR_Vector4f_diagonal().
|
static |
Returns a pointer to a member variable of class MR::Vector4f named elements.
Calls MR_Vector4f_Get_elements().
| auto meshlib::Vector4f::index | ( | e:core::ffi::c_int | ) | const -> &f32 |
Generated from method MR::Vector4f::operator[].
Calls MR_Vector4f_index().
| auto meshlib::Vector4f::index_mut | ( | e:core::ffi::c_int | ) | -> &mut f32 |
Generated from method MR::Vector4f::operator[].
Calls MR_Vector4f_index_mut().
| auto meshlib::Vector4f::is_finite | ( | ) | const -> bool |
Generated from method MR::Vector4f::isFinite.
Calls MR_Vector4f_isFinite().
| auto meshlib::Vector4f::length | ( | ) | const -> f32 |
Generated from method MR::Vector4f::length.
Calls MR_Vector4f_length().
| auto meshlib::Vector4f::length_sq | ( | ) | const -> f32 |
Generated from method MR::Vector4f::lengthSq.
Calls MR_Vector4f_lengthSq().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Vector4f_DefaultConstruct().
| auto meshlib::Vector4f::normalized | ( | ) | const -> meshlib::Vector4f |
Generated from method MR::Vector4f::normalized.
Calls MR_Vector4f_normalized().
| auto meshlib::Vector4f::proj3d | ( | ) | const -> meshlib::Vector3f |
assuming this is a point represented in homogeneous 4D coordinates, returns the point as 3D-vector Generated from method MR::Vector4f::proj3d.
Calls MR_Vector4f_proj3d().
| f32 meshlib::Vector4f::w |
| f32 meshlib::Vector4f::x |
| f32 meshlib::Vector4f::y |
| f32 meshlib::Vector4f::z |