Quaternion.opBinaryRight

Binary operation between scalar type for "*".

struct Quaternion(T)
const
Quaternion!(CommonType!(T, S))
opBinaryRight
(
string op
S
)
(
S e
)
if (
__traits(isArithmetic, S) &&
(op == "*")
)
if (
__traits(isArithmetic, T)
)

Parameters

e S

target scalar value

Return Value

Type: Quaternion!(CommonType!(T, S))

calculated quaternion

Meta