inmath ~master (2022-05-26T00:17:45.8140456)
Dub
Repo
Matrix.scale
inmath
linalg
Matrix
Copyies the scale from mat to the current matrix (nxn matrices, n >= 3).
Matrix
scale
(mt x, mt y)
Matrix
scale
(mt x, mt y, mt z)
void
scale
(mt[] values)
void
scale
(Matrix mat)
struct
Matrix
(type, int rows_, int cols_)
@
safe
pure nothrow
static if
(
(rows == cols) && (rows >= 3)
)
void
scale
(
Matrix
mat
)
if
(
(
rows_
> 0
)
&&
(
cols_
> 0
)
)
Matrix
scale
()
Meta
Source
See Implementation
inmath
linalg
Matrix
aliases
mt
ok
constructors
this
functions
clear
det
inverse
invert
isFinite
makeIdentity
opBinary
opBinaryRight
opOpAssign
ptr
rotate
rotateX
rotateY
rotateZ
scale
toPrettyString
toString
translate
transpose
transposed
static functions
identity
isCompatibleMatrixImpl
isCompatibleVectorImpl
lookAt
orthographic
orthographicInverse
perspective
persperctiveInverse
rotation
scaling
translation
xRotation
yRotation
zRotation
static variables
cols
rows
templates
isCompatibleMatrix
isCompatibleVector
variables
matrix
Copyies the scale from mat to the current matrix (nxn matrices, n >= 3).