bettercmath ~master (2021-10-22T22:55:25.7546802)
Dub
Repo
Transform.rotateX
bettercmath
transform
Transform
Apply 3D rotation around the X axis in-place.
struct
Transform
(T, uint Dim, TransformOptions options = TransformOptions.none)
ref return
static if
(
Dim >= 3
)
Transform
rotateX
(
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
Apply 3D rotation around the X axis in-place.