descore ~master (2015-04-21T20:17:28Z)
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
(
in
E
vals
)
;
static
selftype
fromAngle
(
T
alpha
,
in
Vector
!(
K
,
E
)
axis
)
;
auto
opMul
(
in
Quaterni
!
E
b
)
;
auto
rot
(
in
Vector
!(
K
,
E
)
b
)
;
T
norm
[@property getter];
T
mag
[@property getter];
auto
con
[@property getter];
auto
inv
[@property getter];
}
Constructors
this
this
(
in
E
vals
)
Alias This
data
Members
Aliases
selftype
alias
selftype
=
Quaterni
!
T
vectype
alias
vectype
=
Vector
!(
4
,
T
)
Functions
opMul
auto
opMul
(
in
Quaterni
!
E
b
)
rot
auto
rot
(
in
Vector
!(
K
,
E
)
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
,
in
Vector
!(
K
,
E
)
axis
)
Variables
data
vectype
data
;
Meta
Source
See Implementation
des
math
linear
quaterni
aliases
dquat
quat
rquat
structs
Quaterni