toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.math.geom
/
EulerRotation
Euler
Rotation
inline
class
EulerRotation
:
IsAlmostEqualsF
<
EulerRotation
>
Rotations around Z axis, then X axis, then Y axis in that order.
Members
Constructors
Euler
Rotation
Link copied to clipboard
constructor
(
)
constructor
(
roll
:
Angle
,
pitch
:
Angle
,
yaw
:
Angle
,
config
:
EulerRotation.Config
=
Config.DEFAULT
)
Types
Companion
Link copied to clipboard
object
Companion
Config
Link copied to clipboard
inline
class
Config
(
val
id
:
Int
)
Coordinate
System
Link copied to clipboard
enum
CoordinateSystem
:
Enum
<
EulerRotation.CoordinateSystem
>
Order
Link copied to clipboard
enum
Order
:
Enum
<
EulerRotation.Order
>
Properties
config
Link copied to clipboard
val
config
:
EulerRotation.Config
coordinate
System
Link copied to clipboard
val
coordinateSystem
:
EulerRotation.CoordinateSystem
data
Link copied to clipboard
val
data
:
Vector4F
order
Link copied to clipboard
val
order
:
EulerRotation.Order
pitch
Link copied to clipboard
val
pitch
:
Angle
roll
Link copied to clipboard
val
roll
:
Angle
x
Link copied to clipboard
val
x
:
Angle
y
Link copied to clipboard
val
y
:
Angle
yaw
Link copied to clipboard
val
yaw
:
Angle
z
Link copied to clipboard
val
z
:
Angle
Functions
copy
Link copied to clipboard
fun
copy
(
roll
:
Angle
=
this.roll
,
pitch
:
Angle
=
this.pitch
,
yaw
:
Angle
=
this.yaw
)
:
EulerRotation
is
Almost
Equals
Link copied to clipboard
open
override
fun
isAlmostEquals
(
other
:
EulerRotation
,
epsilon
:
Float
)
:
Boolean
normalized
Link copied to clipboard
fun
normalized
(
)
:
EulerRotation
normalized
Half
Link copied to clipboard
fun
normalizedHalf
(
)
:
EulerRotation
to
Matrix
Link copied to clipboard
fun
toMatrix
(
)
:
Matrix4
to
Quaternion
Link copied to clipboard
fun
toQuaternion
(
)
:
Quaternion
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String