| 303 | } |
| 304 | |
| 305 | Matrix3D 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 | |
| 319 | Transform2D::Transform2D(float n00, float n01, float n02, float n10, float n11, float n12) |