Mat33 (struct)¶
Methods¶
Mat33 ( in Mat33 other ) | |
Mat33 ( in Quat quat ) | |
Mat33 ( in Scalar _00, in Scalar _01, in Scalar _02, in Scalar _10, in Scalar _11, in Scalar _12, in Scalar _20, in Scalar _21, in Scalar _22 ) | |
Mat33 ( in Vec3 row0, in Vec3 row1, in Vec3 row2 ) | |
Mat33 () | |
Mat33 | add ? ( in Mat33 other ) |
Mat33 | adjoint ? () |
Boolean | almostEqual ? ( in Mat33 other ) |
Boolean | almostEqual ? ( in Mat33 other, in Scalar precision ) |
Mat33 | clone ? () |
Scalar | determinant ? () |
Mat33 | divideScalar ? ( in Scalar other ) |
Boolean | equal ? ( in Mat33 other ) |
get ? ( io Float32 v<> ) | |
get ? ( io Float32 v<>, in UInt32 o ) | |
get ? ( io Float32 v[] ) | |
get ? ( io Float32 v[], in UInt32 o ) | |
get ? ( io Float64 v<> ) | |
get ? ( io Float64 v<>, in UInt32 o ) | |
get ? ( io Float64 v[] ) | |
get ? ( io Float64 v[], in UInt32 o ) | |
UInt32 | hash ? () |
Mat33 | inverse ? () |
Mat33 | inverse_safe ? () |
Mat33 | multiply ? ( in Mat33 other ) |
Mat33 | multiplyScalar ? ( in Scalar other ) |
Vec3 | multiplyVector ? ( in Vec3 other ) |
set ! ( in Float32 v<> ) | |
set ! ( in Float32 v<>, in UInt32 o ) | |
set ! ( in Float64 v<> ) | |
set ! ( in Float64 v<>, in UInt32 o ) | |
set ! ( in Scalar _00, in Scalar _01, in Scalar _02, in Scalar _10, in Scalar _11, in Scalar _12, in Scalar _20, in Scalar _21, in Scalar _22 ) | |
set ! ( in Vec3 row0, in Vec3 row1, in Vec3 row2 ) | |
setColumns ! ( in Vec3 col0, in Vec3 col1, in Vec3 col2 ) | |
setDiagonal ! ( in Scalar v ) | |
setDiagonal ! ( in Vec3 v ) | |
setIdentity ! () | |
setNull ! () | |
setRows ! ( in Vec3 row0, in Vec3 row1, in Vec3 row2 ) | |
Mat33 | sphericalLinearInterpolate ? ( in Mat33 m2, in Scalar t ) |
Mat33 | subtract ? ( in Mat33 other ) |
Mat33 | transpose ? () |
Methods in detail¶
copy constructor
Constructor from Quat
Mat33 ( in Scalar _00, in Scalar _01, in Scalar _02, in Scalar _10, in Scalar _11, in Scalar _12, in Scalar _20, in Scalar _21, in Scalar _22 )
Constructor from scalars
Mat33 ( in Vec3 row0, in Vec3 row1, in Vec3 row2 )
Constructor from vectors
Mat33 ()
Mat33 Mat33.add? ( in Mat33 other )
Overload method for the add operator
Returns the adjoint matrix of this matrix
Boolean Mat33.almostEqual? ( in Mat33 other )
Returns true if this matrix is almost the same as another one (using a default precision)
Boolean Mat33.almostEqual? ( in Mat33 other, in Scalar precision )
Returns true if this matrix is almost equal to the given matrix within the provided precision range
clone method
Returns the determinant of this matrix
Mat33 Mat33.divideScalar? ( in Scalar other )
Returns the division of this matrix and a scalar
Boolean Mat33.equal? ( in Mat33 other )
Returns true if this matrix is the same as another one
Getter as external float32 array
Mat33.get? ( io Float32 v<>, in UInt32 o )
Getter as external float32 array and an offset
Getter as float32 array
Mat33.get? ( io Float32 v[], in UInt32 o )
Getter as float32 array and an offset
Getter as external float64 array
Mat33.get? ( io Float64 v<>, in UInt32 o )
Getter as external float64 array and an offset
Getter as float64 array
Mat33.get? ( io Float64 v[], in UInt32 o )
Getter as float64 array and an offset
Hash for this value
Returns the inverse matrix of this matrix
Mat33 Mat33.multiply? ( in Mat33 other )
Overload method for the multiply operator
Mat33 Mat33.multiplyScalar? ( in Scalar other )
Returns the product of this matrix and a scalar
Vec3 Mat33.multiplyVector? ( in Vec3 other )
Returns the product of this matrix and a vector
Setter from (standard/external) float32 array
Mat33.set! ( in Float32 v<>, in UInt32 o )
Setter from (standard/external) float32 array and an offset
Setter from (standard/external) float64 array
Mat33.set! ( in Float64 v<>, in UInt32 o )
Setter from (standard/external) float64 array and an offset
Mat33.set! ( in Scalar _00, in Scalar _01, in Scalar _02, in Scalar _10, in Scalar _11, in Scalar _12, in Scalar _20, in Scalar _21, in Scalar _22 )
Sets each component with a single scalar value.
Mat33.set! ( in Vec3 row0, in Vec3 row1, in Vec3 row2 )
Setter from vectors
Mat33.setColumns! ( in Vec3 col0, in Vec3 col1, in Vec3 col2 )
Setter from vectors, column-wise
Mat33.setDiagonal! ( in Scalar v )
setting the diagonal components of this matrix to a scalar
Mat33.setDiagonal! ( in Vec3 v )
setting the diagonal components of this matrix to the components of a vector
Mat33.setIdentity! ()
setting this matrix to the identity matrix
Mat33.setNull! ()
setting all components of the matrix to 0.0
Mat33.setRows! ( in Vec3 row0, in Vec3 row1, in Vec3 row2 )
Setter from vectors, row-wise
Mat33 Mat33.sphericalLinearInterpolate? ( in Mat33 m2, in Scalar t )
interpolates two matrices spherically (slerp) given a scalar blend value (0.0 to 1.0).
Mat33 Mat33.subtract? ( in Mat33 other )
Overload method for the subtract operator
Returns the transposed matrix of this matrix