bettercmath ~master (2021-10-22T22:55:25.7546802)
Dub
Repo
Transform.rotatedX
bettercmath
transform
Transform
Returns a copy of Transform rotated around the X axis.
struct
Transform
(T, uint Dim, TransformOptions options = TransformOptions.none)
const
static if
(
Dim >= 3
)
Transform
rotatedX
(
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
Returns a copy of Transform rotated around the X axis.