dlsl v0.1.1 (2017-01-01T09:58:18Z)
Dub
Repo
Matrix.translate
dlsl
matrix
Matrix
translate an existing matrix with an array/vector
Matrix
translate
(valueType x)
Matrix
translate
(valueType[2] vec)
struct
Matrix
(type, int numCols, int numRows)
@
safe
pure nothrow
static if
(
cols == rows
)
static if
(!(
cols == 2
))
static if
(
cols == 3
)
Matrix
translate
(
valueType
[2]
vec
)
if
(
(
numCols
> 1
)
&&
(
numRows
> 1
)
)
Matrix
translate
(valueType x, valueType y)
Matrix
translate
(valueType[3] vec)
Matrix
translate
(valueType x, valueType y, valueType z)
Meta
Source
See Implementation
dlsl
matrix
Matrix
aliases
cols
rows
toPrettyString
toString
valueType
vectorType
constructors
this
functions
clear
opBinary
opBinaryRight
opCast
opOpAssign
rotate
rotateX
rotateY
rotateZ
scale
translate
properties
asPrettyString
asString
identity
isIdentity
ptr
static functions
isCompatibleMatrixImpl
isCompatibleVectorImpl
rotation
rotationX
rotationY
rotationZ
scaling
translation
templates
isCompatibleMatrix
isCompatibleVector
variables
data
translate an existing matrix with an array/vector