dlsl ~master (2022-04-13T07:10:34.3128445)
Dub
Repo
Matrix.rotation
dlsl
matrix
Matrix
static construction of a rotation matrix
Matrix
rotation
(real angle)
struct
Matrix
(type, int numCols, int numRows)
nothrow @
nogc
pure nothrow @
nogc
pure nothrow @
nogc
@
safe
@
safe
pure nothrow static
static if
(
cols == rows
)
static if
(
cols == 2 || cols == 3
)
Matrix
rotation
(
real
angle
)
if
(
(
numCols
> 1
)
&&
(
numRows
> 1
)
)
Matrix
rotation
(real angle, Vector!(type, 3) axis)
Matrix
rotation
(real angle, type x, type y, type z)
Matrix
rotation
()
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
static construction of a rotation matrix