MCPcopy Create free account
hub / github.com/EricLengyel/Terathon-Math-Library / operator *

Method operator *

TSMotor2D.cpp:85–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83
84
85Motor2D Terathon::operator *(const Motor2D& a, const Motor2D& b)
86{
87 return (Motor2D(a.x * b.w + b.x * a.w + a.y * b.z - a.z * b.y, a.y * b.w + b.y * a.w + a.z * b.x - a.x * b.z, a.z * b.w + a.w * b.z, a.w * b.w - a.z * b.z));
88}
89
90Vector2D Terathon::Transform(const Vector2D& v, const Motor2D& Q)
91{

Callers

nothing calls this directly

Calls 1

Motor2DClass · 0.85

Tested by

no test coverage detected