bettercmath ~master (2021-10-22T22:55:25.7546802)
Dub
Repo
Transform.rotate
bettercmath
transform
Transform
Apply 2D rotation in-place.
struct
Transform
(T, uint Dim, TransformOptions options = TransformOptions.none)
ref return
static if
(
Dim >= 2
)
Transform
rotate
(
const
FT
angle
)
if
(
Dim
> 0
)
Parameters
angle
FT
Rotation angle in radians
Return Value
Type:
Transform
this
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
Apply 2D rotation in-place.