Commit Graph

10 Commits

Author SHA1 Message Date
2ca6a3e316 Fix BH_INT2PTR, add generic callback definition 2025-03-02 23:12:43 +03:00
a2d0913c79 Add utils for working with endianness, more documentation, refactor CMake
Decided to update the docs, as well as adding few new features and small
refactoring.
2025-02-28 21:44:22 +03:00
54e1c88f1f Fix missing newline in Args.h 2025-02-28 10:05:07 +03:00
37feb762cb Add argument parsing
Added (IMHO) relatively simple argument parsing function (as well as helper
function for printing help information).
2025-02-28 09:09:58 +03:00
cae66889a1 Add 2D/3D boxes/AABBs and intersection tests.
Added support for 2D/3D boxes (or AABBs) and intersection tests between
them and rays/segments.
2025-02-24 22:56:16 +03:00
67e7582d63 Add line, plane, ray and segments, split math unit test
Added some basic geometric primitives such as planes, rays, segments
and lines (plus some extra functions like xProject, xBarycentric, Lerpf),
as well as some intersection tests between them.

Additionally, I split massive math test into smaller ones and tweaked
unit test library (testing no longer stops after first failure).
2025-02-24 09:37:22 +03:00
7a7134a2f5 Fix function documentation, add missing function 2025-02-03 15:18:57 +03:00
f86f1f4f74 Fix function declaration, extend math test 2025-02-03 08:26:10 +03:00
d917eaa479 Fix file and directory permissions 2025-02-02 22:51:28 +03:00
586a9ace21 Change file naming
This is a follow-up to previous commit.
2025-02-02 21:40:31 +03:00