|
|
constexpr | basic_matrix4x4 (const base_type &base) noexcept |
| |
|
template<typename Column0 , typename Column1 , typename Column2 , typename Column3 > |
| constexpr | basic_matrix4x4 (Column0 &&column0, Column1 &&column1, Column2 &&column2, Column3 &&column3) noexcept |
| |
|
template<scalar Other> |
| constexpr | basic_matrix4x4 (Other x0, Other x1, Other x2, Other x3, Other y0, Other y1, Other y2, Other y3, Other z0, Other z1, Other z2, Other z3, Other w0, Other w1, Other w2, Other w3) noexcept |
| |
|
template<scalar Other> |
| constexpr | basic_matrix4x4 (const Other v00, const Other v11, const Other v22, const Other v33) noexcept |
| |
|
template<scalar Other> |
| constexpr | basic_matrix4x4 (const basic_matrix3x3< Other > &other) noexcept |
| |
|
constexpr | basic_matrix4x4 (const basic_matrix4x4 &other) noexcept=default |
| |
|
constexpr | basic_matrix4x4 (basic_matrix4x4 &&other) noexcept=default |
| |
|
constexpr auto | operator= (const basic_matrix4x4 &other) noexcept -> basic_matrix4x4 &=default |
| |
|
constexpr auto | operator= (basic_matrix4x4 &&other) noexcept -> basic_matrix4x4 &=default |
| |
|
constexpr auto | operator[] (size_type index) const noexcept -> const column_type & |
| |
|
constexpr auto | operator[] (size_type index) noexcept -> column_type & |
| |
|
constexpr | basic_matrix () noexcept |
| | Constructs a zero-initialized matrix.
|
| |
| constexpr | basic_matrix (const Other value) noexcept |
| | Constructs a matrix with all elements set to a value. More...
|
| |
| constexpr | basic_matrix (const basic_matrix< Columns, Rows, Other > &other) noexcept |
| | Constructs a matrix from another matrix with convertible type. More...
|
| |
|
constexpr | basic_matrix (const basic_matrix &other) noexcept=default |
| |
|
constexpr | basic_matrix (basic_matrix &&other) noexcept=default |
| |
|
auto | operator= (const basic_matrix &other) noexcept -> basic_matrix &=default |
| |
|
auto | operator= (basic_matrix &&other) noexcept -> basic_matrix &=default |
| |
| constexpr auto | operator[] (size_type index) noexcept -> column_type & |
| | Accesses a column by index. More...
|
| |
| constexpr auto | operator[] (size_type index) const noexcept -> const column_type & |
| | Accesses a column by index (const). More...
|
| |
| constexpr auto | operator+= (const basic_matrix< Columns, Rows, Other > &other) noexcept -> basic_matrix & |
| | Adds another matrix to this matrix. More...
|
| |
| constexpr auto | operator-= (const basic_matrix< Columns, Rows, Other > &other) noexcept -> basic_matrix & |
| | Subtracts another matrix from this matrix. More...
|
| |
| constexpr auto | operator*= (Other scalar) noexcept -> basic_matrix & |
| | Multiplies this matrix by a scalar. More...
|
| |
| constexpr auto | operator/= (Other scalar) noexcept -> basic_matrix & |
| | Divides this matrix by a scalar. More...
|
| |
| constexpr auto | row (const size_type row) const noexcept -> basic_vector< Columns, value_type > |
| | Extracts a row as a vector. More...
|
| |
| constexpr auto | data () noexcept -> value_type * |
| | Returns a pointer to the underlying contiguous storage. More...
|
| |
| constexpr auto | data () const noexcept -> const value_type * |
| | Returns a pointer to the underlying contiguous storage (const). More...
|
| |
|
|
static constexpr auto | transposed (const basic_matrix4x4 &matrix) noexcept -> basic_matrix4x4 |
| |
|
static constexpr auto | inverted (const basic_matrix4x4 &matrix) -> basic_matrix4x4 |
| |
|
static constexpr auto | look_at (const basic_vector3< value_type > &position, const basic_vector3< value_type > &target, const basic_vector3< value_type > &up) noexcept -> basic_matrix4x4 |
| |
|
static constexpr auto | perspective (const basic_angle< value_type > &fov, const value_type aspect, const value_type near, const value_type far) noexcept -> basic_matrix4x4 |
| |
|
static constexpr auto | orthographic (const value_type left, const value_type right, const value_type bottom, const value_type top) noexcept -> basic_matrix4x4 |
| |
|
static constexpr auto | orthographic (const value_type left, const value_type right, const value_type bottom, const value_type top, const value_type near, const value_type far) noexcept -> basic_matrix4x4 |
| |
|
static constexpr auto | translated (const basic_matrix4x4 &matrix, const basic_vector3< value_type > &vector) noexcept -> basic_matrix4x4 |
| |
|
static constexpr auto | scaled (const basic_matrix4x4 &matrix, const basic_vector3< value_type > &vector) noexcept -> basic_matrix4x4 |
| |
|
static constexpr auto | rotated (const basic_matrix4x4 &matrix, const basic_vector3< value_type > &axis, const basic_angle< value_type > &angle) noexcept -> basic_matrix4x4 |
| |
|
static constexpr auto | rotation_from_euler_angles (const basic_vector3< value_type > &euler_angles) noexcept -> basic_matrix4x4 |
| |
|
static constexpr auto | rotation_basis (const basic_matrix4x4 &matrix) noexcept -> basic_matrix3x3< value_type > |
| |