cad-editor/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 04c93df2c4 refactor: remove the legacy full view_proj (CPU cull now relative-to-eye)
The GPU draws exclusively via the rotation-only `view_rot` + eye double-
single; the full view-projection survived only to project AABBs in the
CPU frustum-cull / scissor / LOD passes. Migrate those to the same
relative-to-eye math (project `point - eye` through `view_rot`) — pixel-
equivalent but precise at UTM scale — then drop the dead uniform:

- pipeline cull/scissor/LOD helpers take (view_rot, eye) instead of the
  full view_proj; render.rs reconstructs eye from the uniform's
  eye_high/eye_low and passes the cropped view_rot.
- Remove the `view_proj` field from the shared Uniforms struct and all six
  shader structs that only declared it for layout (none read it), and
  delete Camera::view_proj(). The struct shrinks by one mat4 on both
  sides, keeping the Rust / WGSL layouts in lock-step.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 20:14:41 +03:00
..
app refactor: remove remaining world_offset vestiges in app/ 2026-06-24 19:01:25 +03:00
command wip(f64): convert command layer to DVec3 (in progress) 2026-06-24 03:32:11 +03:00
entities refactor: remove the last world_offset zero-locals 2026-06-24 18:55:00 +03:00
io feat(render): double-single vertices for the mesh pipeline 2026-06-23 18:28:52 +03:00
modules fix(snap): f64-precise computed snaps + UTM-tolerant cull + f64 previews 2026-06-24 04:26:05 +03:00
plugin chore: silence native and wasm build warnings 2026-06-22 02:03:34 +03:00
scene refactor: remove the legacy full view_proj (CPU cull now relative-to-eye) 2026-06-24 20:14:41 +03:00
shaders refactor: remove the legacy full view_proj (CPU cull now relative-to-eye) 2026-06-24 20:14:41 +03:00
snap refactor: remove dead world_offset plumbing (RTE migration is complete) 2026-06-24 18:35:02 +03:00
ui feat(snap,pick): eye-relative CPU projection — drop full view_proj at UTM 2026-06-23 23:33:21 +03:00
cli.rs feat(cli): full command-line interface via clap 2026-06-20 13:59:20 +03:00
lib.rs feat(cli): full command-line interface via clap 2026-06-20 13:59:20 +03:00
linetypes.rs perf(hash): swap std HashMap/HashSet for rustc-hash FxHash 2026-06-05 00:35:53 +03:00
main.rs feat(cli): full command-line interface via clap 2026-06-20 13:59:20 +03:00
par.rs feat(wasm): sequential rayon shim for the web build 2026-06-16 17:11:20 +03:00
patterns.rs chore: rename H7CAD to Open CAD Studio 2026-05-23 17:16:15 +03:00
sys.rs fix(web): paste clipboard text into the TEXT / MText editors 2026-06-20 17:05:02 +03:00
update_check.rs chore: silence native and wasm build warnings 2026-06-22 02:03:34 +03:00