dlsl v0.1.1 (2017-01-01T09:58:18Z)
Dub
Repo
Matrix.scaling
dlsl
matrix
Matrix
static construction of a scaling matrix from two scalars
Matrix
scaling
(valueType x)
Matrix
scaling
(valueType[2] vec)
Matrix
scaling
(valueType x, valueType y)
struct
Matrix
(type, int numCols, int numRows)
@
safe
pure nothrow static
static if
(
cols == rows
)
static if
(
cols == 2 || cols == 3
)
Matrix
scaling
(
valueType
x
,
valueType
y
)
if
(
(
numCols
> 1
)
&&
(
numRows
> 1
)
)
Matrix
scaling
(valueType[3] vec)
Matrix
scaling
(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
static construction of a scaling matrix from two scalars