Stephen Gutekanst
|
89622810f8
|
all: use mach.math instead of std.math; fixes hexops/mach#1021
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2024-01-18 22:34:12 -07:00 |
|
Stephen Gutekanst
|
b5531f84cb
|
update to Zig 2024.1.0-mach
Related to hexops/mach#1145
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2024-01-14 19:11:20 -07:00 |
|
btipling
|
9cf37cdc39
|
Early return with null for a ray with no direction (#1132)
|
2023-12-30 15:48:39 -07:00 |
|
Joel D. Schüller
|
fc4c3d06a3
|
math: Improve triangleIntersect doc comment
|
2023-10-10 20:31:47 -07:00 |
|
Joel D. Schüller
|
efe9d3d5d2
|
math: Add more precise triangleIntersect tests
|
2023-10-10 20:31:47 -07:00 |
|
Joel D. Schüller
|
8ddb9ade70
|
math: Fix Ray and Ray.Hit type adaptations
|
2023-10-10 20:31:47 -07:00 |
|
Joel D. Schüller
|
1c32ae83a7
|
math: Move maxDim function inside Ray struct
|
2023-10-10 20:31:47 -07:00 |
|
Joel D. Schüller
|
e7c95b8ce9
|
math: Replace floatFallbackPrecision function with switch expression
|
2023-10-10 20:31:47 -07:00 |
|
Stephen Gutekanst
|
3b4f811529
|
minor cleanup
|
2023-10-03 19:50:52 -07:00 |
|
Joel D. Schüller
|
c03c627780
|
math: Have Ray return fitting subtype, scale precision automatically
|
2023-10-03 19:50:52 -07:00 |
|
Joel D. Schüller
|
0273e12902
|
math: Implement function to determine Ray hit fallback precision
|
2023-10-03 19:50:52 -07:00 |
|
Joel D. Schüller
|
9399cda75c
|
math: Implement ray-triangle intersection
|
2023-10-03 19:50:52 -07:00 |
|