descore v1.1.0 (2015-01-15T16:11:38Z)
Dub
Repo
Quaterni
des
math
linear
quaterni
struct
Quaterni (
T
)
if
(
isFloatingPoint
!
T
) {
alias
vectype
=
Vector
!(
4
,
T
,
"i j k a"
)
;
vectype
vec
;
alias
selftype
=
Quaterni
!
T
;
this
(E vals);
static
selftype
fromAngle
(T alpha, Vector!(K, E, bs) axis);
auto
opMul
(Quaterni!E b);
auto
rot
(Vector!(K, E, bs) b);
T
norm
[@property getter];
T
mag
[@property getter];
auto
con
[@property getter];
auto
inv
[@property getter];
}
Constructors
this
this
(E vals)
Alias This
vec
Members
Aliases
selftype
alias
selftype
=
Quaterni
!
T
vectype
alias
vectype
=
Vector
!(
4
,
T
,
"i j k a"
)
Functions
opMul
auto
opMul
(Quaterni!E b)
rot
auto
rot
(Vector!(K, E, bs) b)
Properties
con
auto
con
[@property getter]
inv
auto
inv
[@property getter]
mag
T
mag
[@property getter]
norm
T
norm
[@property getter]
Static functions
fromAngle
selftype
fromAngle
(T alpha, Vector!(K, E, bs) axis)
Variables
vec
vectype
vec
;
Meta
Source
See Implementation
des
math
linear
quaterni
aliases
dquat
quat
rquat
structs
Quaterni