Commit graph Crafter.Math/tests
Author SHA1 Message Date
087c8b32c3
feat: quaternion operations, and transforms that mean the same in 4x4 and 4x3
- A 4-vector doubles as a unit quaternion in (x, y, z, w) order:
  QuanternionMultiply, QuanternionConjugate, QuanternionFromAxisAngle,
  QuanternionFromUnitVectors (shortest arc), QuanternionNlerp and
  QuanternionSlerp, next to the existing QuanternionFromBasis.
- MatrixRowMajor gains Rotation (from a quaternion), TRS, InverseAffine,
  Transpose and Decompose. The 4x4 transforms row vectors and the 4x3
  column vectors (the VkTransformMatrixKHR layout); each of these means the
  same transform in both. The 4x3 Rotation copied the 4x4's rows, which
  rotated by the inverse.
- The static Normalize no longer assumes three components.
- Tests: Quaternion, and Matrix extended.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 19:07:06 +02:00
02af551776 SPDX license update 2026-07-22 18:01:26 +02:00
f0becd1582 packed intersection and matrix 2026-05-18 19:57:40 +02:00
ad5ba21b4d matrix operations 2026-05-18 18:03:20 +02:00
ec3edbb3d7 crafter-build V2 2026-04-29 19:01:52 +02:00
a16f8ffbde x86v3 2026-03-31 14:22:18 +02:00
143b71eeb9 WE ARE SO BACK 2026-03-31 11:52:13 +02:00
8999c8b9ec all tests passing again 2026-03-31 05:38:12 +02:00
d09155736f added more tests 2026-03-29 06:47:06 +02:00
bd9230e07e fixed dot len 4 2026-03-27 05:54:37 +01:00
cc2c13f7a5 more tests 2026-03-26 03:53:30 +01:00
e0f992aada more tests 2026-03-25 02:51:02 +01:00
b582e168e3 more tests 2026-03-25 00:42:04 +01:00
6b15089e24 more F16 tests 2026-03-24 04:41:03 +01:00
6e6530290b F16 fixes 2026-03-24 03:48:56 +01:00
b2b4ca9c4d F16 tests 2026-03-24 02:09:28 +01:00
7bd67a2cb9 fully operational F16 2026-03-24 00:18:00 +01:00