bettercmath ~master (2021-10-22T22:55:25.7546802)
Dub
Repo
Transform.fromTranslation
bettercmath
transform
Transform
Constructs a new Transform representing a translation.
struct
Transform
(T, uint Dim, TransformOptions options = TransformOptions.none)
static
Transform
fromTranslation
(
uint
N
)
(
const
auto
ref
T
[
N
]
values
)
if
(
Dim
> 0
)
Meta
Source
See Implementation
bettercmath
transform
Transform
aliases
ElementType
MatrixType
fromZRotation
fromZRotationDegrees
rotateZ
rotateZDegrees
rotatedZ
rotatedZDegrees
constructors
this
functions
copyInto
opBinary
opCast
rotate
rotateDegrees
rotateX
rotateXDegrees
rotateY
rotateYDegrees
rotated
rotatedDegrees
rotatedX
rotatedXDegrees
rotatedY
rotatedYDegrees
scale
scaled
setIdentity
shear
sheared
transform
translate
translated
manifest constants
dimension
identity
static functions
fromRotation
fromRotationDegrees
fromScaling
fromShearing
fromTranslation
fromXRotation
fromXRotationDegrees
fromYRotation
fromYRotationDegrees
variables
isCompact
matrix
Constructs a new Transform representing a translation.