dlsl ~master (2017-12-21T19:48:41Z)
Dub
Repo
Matrix.translation
dlsl
matrix
Matrix
static construction of a translation matrix from two coordinates
Matrix
translation
(
valueType
x
)
Matrix
translation
(
valueType
[
2
]
vec
)
Matrix
translation
(
valueType
x
,
valueType
y
)
struct
Matrix
(type, int numCols, int numRows)
static
Matrix
translation
(
valueType
x
,
valueType
y
)
if
(
(
numCols
> 1
)
&&
(
numRows
> 1
)
)
Matrix
translation
(
valueType
[
3
]
vec
)
Matrix
translation
(
valueType
x
,
valueType
y
,
valueType
z
)
Matrix
translation
()
Meta
Source
See Implementation
dlsl
matrix
Matrix
constructors
this
functions
clear
opBinary
opBinaryRight
rotate
rotateX
rotateY
rotateZ
scale
translate
properties
asPrettyString
asString
identity
isIdentity
ptr
static functions
rotation
rotationX
rotationY
rotationZ
scaling
translation
variables
data
static construction of a translation matrix from two coordinates