Commit Graph

218 Commits

Author SHA1 Message Date
08dba8e1dd Use unified coordinate handling as unified 2024-06-28 15:19:24 +03:00
b9cf26701c Drop unused code 2024-06-28 15:19:02 +03:00
41448d2226 Unify flat coordinate system handling 2024-06-28 15:10:53 +03:00
64344659e3 Remove a useless wrapper 2024-06-28 14:59:28 +03:00
13085b5e43 I *do* need opt=0 in dev 2024-06-28 14:55:06 +03:00
0cf6b5b1fb Remove redundant code 2024-06-28 14:54:30 +03:00
c49a3ea241 Test for the bugfix 2024-06-28 14:54:00 +03:00
15a28df2ed Bugfix! 2024-06-27 12:58:45 +03:00
c2922d5fe1 Keep limit as an Option one level deeper 2024-06-27 12:53:28 +03:00
b5c57babb4 Extract flat coordinate system handling 2024-06-25 20:28:09 +03:00
7f560a2b49 Rename “outer” to “global” as that’s what it is 2024-06-25 20:11:25 +03:00
a31a950eca Unify coordinate mapping 2024-06-25 19:56:29 +03:00
2515c0a0da Simplify code 2024-06-25 13:31:39 +03:00
4caa260a34 Remove single-implementation traits 2024-06-25 13:20:52 +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
61e861816d Use proper panic handling
Unwinding is useless.
2024-06-13 15:33:10 +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
3dec491bb5 Record relative hit position 2024-06-10 22:22:50 +03:00
5947a6e324 Draw smoother lines in the inner region 2024-06-10 20:16:17 +03:00
4b511af742 Hit objects in the inner region 2024-06-10 20:04:53 +03:00
9ec5f17754 Hit objects from different space regions 2024-06-10 19:50:39 +03:00
11e48580b9 Test that new code 2024-06-10 17:28:33 +03:00
3f7a1b7173 More code uniformity 2024-06-10 16:53:37 +03:00
1de98d9550 Extract a module 2024-06-10 16:15:26 +03:00