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

Method Adjugate

TSMatrix3D.cpp:305–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303}
304
305Matrix3D Terathon::Adjugate(const Matrix3D& m)
306{
307 const Vector3D& a = m[0];
308 const Vector3D& b = m[1];
309 const Vector3D& c = m[2];
310
311 Bivector3D g0 = b ^ c;
312 Bivector3D g1 = c ^ a;
313 Bivector3D g2 = a ^ b;
314
315 return (Matrix3D(g0.x, g0.y, g0.z, g1.x, g1.y, g1.z, g2.x, g2.y, g2.z));
316}
317
318
319Transform2D::Transform2D(float n00, float n01, float n02, float n10, float n11, float n12)

Callers

nothing calls this directly

Calls 1

Matrix3DClass · 0.85

Tested by

no test coverage detected