descore ~master (2021-11-17T13:34:47.5426292)
Dub
Repo
Quaterni
des
math
linear
quaterni
struct
Quaterni (
T
)
if
(
isFloatingPoint
!
T
) {
alias
vectype
=
Vector
!(
4
,
T
)
;
vectype
data
;
alias
selftype
=
Quaterni
!
T
;
this
(E vals);
mixin
accessByString
!(
4
,
T
,
"data.data"
,
"i j k a"
)
;
static
selftype
fromAngle
(T alpha, Vector!(K, E) axis);
auto
opMul
(Quaterni!E b);
auto
rot
(Vector!(K, E) b);
T
norm
[@property getter];
T
mag
[@property getter];
auto
con
[@property getter];
auto
inv
[@property getter];
auto
len2
[@property getter];
}
Constructors
this
this
(E vals)
Alias This
data
Members
Aliases
selftype
alias
selftype
=
Quaterni
!
T
vectype
alias
vectype
=
Vector
!(
4
,
T
)
Functions
opMul
auto
opMul
(Quaterni!E b)
rot
auto
rot
(Vector!(K, E) b)
Mixins
__anonymous
mixin
accessByString
!(
4
,
T
,
"data.data"
,
"i j k a"
)
Undocumented in source.
Properties
con
auto
con
[@property getter]
inv
auto
inv
[@property getter]
len2
auto
len2
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
mag
T
mag
[@property getter]
norm
T
norm
[@property getter]
Static functions
fromAngle
selftype
fromAngle
(T alpha, Vector!(K, E) axis)
Variables
data
vectype
data
;
Meta
Source
See Implementation
des
math
linear
quaterni
aliases
dquat
quat
rquat
structs
Quaterni