sbylib ~master (2020-02-29T08:12:18Z)
Dub
Repo
Matrix.translate
sbylib
math
matrix
Matrix
Returns translation matrix.
struct
Matrix
(T, uint U, uint V)
static
static if
(
U == V
)
static if
(
U == 3 || U == 4
)
Matrix
translate
(
Vector
!(
T
,
U
- 1)
vec
)
if
(
__traits(
isArithmetic
,
T
)
)
Parameters
vec
Vector
!(
T
,
U
- 1)
translation vector
Return Value
Type:
Matrix
translation matrix
Meta
Source
See Implementation
sbylib
math
matrix
Matrix
aliases
ElementType
constructors
this
functions
array
column
opBinary
opIndex
opOpAssign
opUnary
row
toString
manifest constants
Column
Row
static functions
axisAngle
identity
lookAt
makeInvertTRS
makeTRS
ortho
perspective
rotFromTo
scale
translate
Returns translation matrix.