dlsl ~master (2022-04-13T07:10:34.3128445)
Dub
Repo
Matrix.translation
dlsl
matrix
Matrix
extract translation part of the matrix in a copy
Matrix
translation
(type x)
Matrix
translation
(type[2] vec)
Matrix
translation
(type x, type y)
Matrix
translation
(type[3] vec)
Matrix
translation
(type x, type y, type z)
Matrix
translation
()
struct
Matrix
(type, int numCols, int numRows)
nothrow @
nogc
pure nothrow @
nogc
pure nothrow @
nogc
@
safe
@
safe
pure nothrow
static if
(
cols == rows
)
Matrix
translation
(
)
if
(
(
numCols
> 1
)
&&
(
numRows
> 1
)
)
Meta
Source
See Implementation
dlsl
matrix
Matrix
aliases
cols
rows
valueType
vectorType
constructors
this
functions
clear
isIdentity
opBinary
opBinaryRight
opCast
opOpAssign
ptr
rotate
rotateX
rotateY
rotateZ
scale
toString
translate
static functions
identity
isCompatibleMatrixImpl
isCompatibleVectorImpl
rotation
rotationX
rotationY
rotationZ
scaling
translation
templates
isCompatibleMatrix
isCompatibleVector
variables
data
extract translation part of the matrix in a copy