dlsl.dual_quaternion

dlsl.dual_quaternion

Public Imports

dlsl.quaternion
public import dlsl.quaternion;

Members

Aliases

conjugate
alias conjugate = invert
Undocumented in source.
dualQ
alias dualQ = DualQuaternion!(float)

Pre-defined quaternion of type float.

isDualQ
alias isDualQ = isDualQuaternion
Undocumented in source.

Functions

dot
DQ.valueType dot(DQ a, DQ b)

Dual Quaternion dot product

invert
DQ invert(DQ dq)
Undocumented in source. Be warned that the author may not have intended to support it.
normalize
DQ normalize(DQ dq)

Dual Quaternion normalize

toMat4
auto toMat4(DQ dq)
Undocumented in source. Be warned that the author may not have intended to support it.
toMat4x3
auto toMat4x3(DQ dq)
Undocumented in source. Be warned that the author may not have intended to support it.
toMat4x4
auto toMat4x4(DQ dq)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

DualQuaternion
struct DualQuaternion(type)

Base template for all quaternion-types.

Templates

isDualQuaternion
template isDualQuaternion(T)

If T is a quaternion, this evaluates to true, otherwise false.

Meta

Authors

Peter Particle

License

MIT

Based on: Ben Kenwright: A Beginners Guide to Dual-Quaternions