Commit Graph

219 Commits

Author SHA1 Message Date
b8f0ce0b68 Provide a tangent at each traced point 2024-09-23 22:24:43 +03:00
1d57ca8a93 Rotation-independent line width 2024-09-23 22:14:13 +03:00
dca80473d0 Crude wide lines 2024-09-23 22:02:38 +03:00
8736db19a3 Port to WGPU 2024-09-23 21:20:56 +03:00
7b90bbac65 Draw the tube better 2024-09-23 20:01:43 +03:00
df2134a8a5 Encapsulate keyboard handling 2024-09-23 19:31:53 +03:00
69e711811b Encapsulate camera location 2024-09-23 19:31:31 +03:00
d47b904905 Reduce controls to keyboard-only
Simplicity first!
2024-09-23 19:16:12 +03:00
24b1a07f28 Refactor out the keymap 2024-09-23 18:50:55 +03:00
26b7794159 Label some modules 2024-09-23 00:04:23 +03:00
2d5c2f28d4 Extend view range 2024-09-23 00:04:16 +03:00
a0bfa246ec Change the coordinate system 2024-09-22 23:55:46 +03:00
37192cfd06 Add up/down controls 2024-09-22 23:54:21 +03:00
964c977500 Drop the tripod 2024-09-22 23:53:30 +03:00
cd96691c35 Blend! 2024-09-22 22:25:06 +03:00
dff5745652 Render traced rays! 2024-09-22 21:56:05 +03:00
cf7f9c7f46 Extract put_object into crate::utils 2024-09-22 20:52:12 +03:00
ddccfd3a80 Simplify camera control 2024-09-22 19:44:44 +03:00
f138aa10ee Better camera control 2024-09-22 19:40:11 +03:00
c31e7cb1ec Tripod! 2024-09-22 16:13:43 +03:00
0e32467b24 Less asserts 2024-09-22 16:08:19 +03:00
a40ba66209 Basic camera movement 2024-09-22 16:00:34 +03:00
9c29ccb8ec Encapsulate dragging logic 2024-09-22 15:53:06 +03:00
24b33f8146 Basic camera control 2024-09-22 15:41:05 +03:00
1d9ff55163 Farther 2024-09-22 15:40:47 +03:00
3d150208e0 kate:build 2024-09-22 15:12:11 +03:00
6012c480de Basic OpenGL 2024-09-22 15:11:08 +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
b0aa666af3 Add Decomp3
Yes this is code duplication. But glam is not dimension-generic.
2024-09-15 11:42:05 +03:00
e5221fbcf8 Document Decomp2 2024-09-15 11:42:05 +03:00
f57ef1c141 Extract Decomp2 to mathx 2024-09-15 11:42:05 +03:00
43b0eb5836 Remove unused imports 2024-09-15 11:42:05 +03:00
b10d30c902 Extract iteration limiting into a function 2024-09-15 01:10:15 +03:00
1c283a6fbe Centralize subspace matching 2024-09-15 00:55:14 +03:00
8394e4108c Privatize methods 2024-09-15 00:52:57 +03:00
ef2be3fcc5 Check Traceable is the same as DebugTraceable 2024-09-15 00:52:32 +03:00
644530e312 Optimized implementation of <Space as Traceable>::trace 2024-09-15 00:21:42 +03:00
d8eed54c8b Extract camera→ray conversion 2024-09-15 00:04:14 +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
d12e6a06cf Remove a questionable method 2024-09-14 19:54:20 +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
2a08b6c379 Orthonormalize! 2024-09-14 19:07:56 +03:00