Commit Graph

57 Commits

Author SHA1 Message Date
cf7f9c7f46 Extract put_object into crate::utils 2024-09-22 20:52:12 +03:00
98fbf892bc Support 3D! 2024-09-15 11:50:13 +03:00
caa93e5ffd Move the metric stuff out of the binary 2024-09-15 11:48:13 +03:00
43b0eb5836 Remove unused imports 2024-09-15 11:42:05 +03:00
ef2be3fcc5 Check Traceable is the same as DebugTraceable 2024-09-15 00:52:32 +03:00
e9993182bf Split ray tracing and trace display 2024-09-14 23:24:37 +03:00
88da1aa582 Allow using Decomp2 like a matrix 2024-09-14 22:50:42 +03:00
529d4ac7db Merge float_fun into mathx 2024-09-14 22:41:03 +03:00
4dcc256127 Add the traits I *want* to be there. 2024-09-14 22:33:27 +03:00
5b09bb780e Add internal camera 2024-09-14 20:00:24 +03:00
dbd873a3ad Reorder cameras, for better look 2024-09-14 19:59:39 +03:00
a4e2573a7c Use put_object for objects as well 2024-09-14 19:50:49 +03:00
f06e502e26 Simplify put_object 2024-09-14 19:24:27 +03:00
0efa513130 Use put_object! 2024-09-14 19:24:13 +03:00
f5f94d3c1c Add put_object 2024-09-14 18:27:57 +03:00
0c0e22423d Remove unused code 2024-09-14 17:31:10 +03:00
2a41743fe5 fmt! 2024-09-14 15:02:10 +03:00
e58f3c5a17 Reduce useless debug lines 2024-09-14 14:52:46 +03:00
4b12fcf045 Extract boundary tracing into a function 2024-09-14 13:35:39 +03:00
5f866737a8 Replace a diverging match with an if let 2024-09-14 13:13:22 +03:00
ee2d7d1b67 Merge two subspace matchings 2024-09-14 13:10:26 +03:00
54aa1369ab Clean the imports up 2024-06-30 15:37:11 +03:00
0cddb8798d Move basic types to a module 2024-06-25 13:14:48 +03:00
13da06b294 Publish structs 2024-06-25 13:07:03 +03:00
455b69d447 Extract the implementation to a module 2024-06-25 13:04:36 +03:00
84068a5a13 Move Tube to a file 2024-06-25 12:16:31 +03:00
ad107a6910 Have fun! 2024-06-25 12:06:56 +03:00
dd054e9016 Move stuff around 2024-06-25 11:29:33 +03:00
0ae05fd730 Rename stuff to what it is, not how it’s used 2024-06-13 15:53:20 +03:00
844c974ed4 Use Rust formatting 2024-06-13 15:32:44 +03:00
5cdc97951b Test TubeX as well 2024-06-13 13:26:02 +03:00
b4f7a3045b Move fns:: test to a submodule 2024-06-11 14:21:52 +03:00
f2e2767156 Test tube length 2024-06-11 14:21:52 +03:00
8ad9f04ece Test code cleanup 2024-06-11 14:21:52 +03:00
22339fb331 Remove an obsolete test 2024-06-11 14:21:52 +03:00
ededa1be50 Extend the tube-Y test 2024-06-11 13:56:11 +03:00
4feaf2428e Another rename 2024-06-11 13:52:29 +03:00
6c7c936ead Oops... I had that function already... 2024-06-11 13:50:02 +03:00
53075e0906 The Big Rename 2024-06-11 13:43:59 +03:00
ae152f6d7d Better test failure message 2024-06-11 00:42:47 +03:00
ce86e2a95c Minor cleanup 2024-06-11 00:37:25 +03:00
cf425a34b6 Unify listing objects 2024-06-11 00:34:34 +03:00
cac83b9003 Neat? 2024-06-11 00:29:16 +03:00
0a4078d4f3 Join object hitting halves together 2024-06-11 00:23:36 +03:00
8e31359a69 Unify object hitting code 2024-06-11 00:14:44 +03:00
39a4ee5824 Update object.loc in list_objects_inner to reflect the coordinate system change 2024-06-11 00:02:43 +03:00
17ed87035a Expose the fact dx and du are linear 2024-06-11 00:02:09 +03:00
fdc4e22da0 Record relative ray direction on hit 2024-06-10 23:30:38 +03:00
d5c2e34157 Unify some code 2024-06-10 22:58:52 +03:00
932029b064 Properly calculate relative hit position for rotated objects 2024-06-10 22:58:42 +03:00