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

Function Cross

TSVector3D.h:624–627  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622 /// \related Vector3D
623
624 inline Vector3D Cross(const Vector3D& a, const Vector3D& b)
625 {
626 return (Vector3D(a.y * b.z - a.z * b.y, a.z * b.x - a.x * b.z, a.x * b.y - a.y * b.x));
627 }
628
629 // ==============================================
630 // Projection

Callers

nothing calls this directly

Calls 1

Vector3DClass · 0.85

Tested by

no test coverage detected