Commit graph

64 commits

Author SHA1 Message Date
de126aa150 Matrix/Vector multiplication and changes
Change Mat3 values to column-major (I think?) order.

Add Matrix/Matrix multiplication and tweak Matrix/Vector multiplication.

Fix Matrix rotation values since Mat3 representation changed.

Added more UnitTest tests.
2024-04-29 13:23:47 +09:00
2cffea2604 Add more testing to UnitTest 2024-04-29 13:23:47 +09:00
a194e71d94 Impl Sphere/Generic_Box collision checking 2024-04-29 13:23:47 +09:00
39593ad996 Fix Sphere/AABB collision 2024-04-29 13:23:47 +09:00
919d931b4e Impl Sphere/Sphere and Sphere/AABB collision
TODO: Impl Sphere/Generic-Box collision
2024-04-29 13:23:47 +09:00
6f641f13be Add Changelog.md 2024-04-29 13:23:38 +09:00
8c11542219 Add README.md 2024-04-29 13:21:53 +09:00
849818e6f5 Add LICENSE 2024-04-26 15:53:23 +09:00
2c44fccbb7 Rename lib, rename sources, set up cmake install 2024-04-26 15:52:16 +09:00
01c56d8d4c Impl Generic_Box_Collision
Also added some helpers for use in Generic_Box_Collision.
2024-04-26 15:44:24 +09:00
9a5634f0da Add simple UnitTest that tests AABB_Box collision 2024-04-26 13:27:03 +09:00
3664e1734b Tweak to representation of box coordinates
Previous implementation assumed coords was a corner of the box. This
changes the representation for the coords to denote the center of the
box.
2024-04-26 13:13:59 +09:00
4a1c5530a5 Work
Implement helper functions like dot-product, cross-product, and
vec3-rotation. Implement AABB collision.

TODO:
  Implement Generic Box collision (not axis-aligned boxes).
2024-04-26 12:28:12 +09:00
6f5dbaaa72 Init commit skeleton project 2024-04-26 11:43:38 +09:00