bettercmath ~master (2021-10-22T22:55:25.7546802)
Dub
Repo
Transform.fromRotation
bettercmath
transform
Transform
Constructs a new Transform representing a 2D rotation.
struct
Transform
(T, uint Dim, TransformOptions options = TransformOptions.none)
static
static if
(
Dim >= 2
)
Transform
fromRotation
(
const
FT
angle
)
if
(
Dim
> 0
)
Parameters
angle
FT
Rotation angle in radians
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 2D rotation.