eng doc
This commit is contained in:
@@ -48,5 +48,5 @@ cargo run -p wsg-lib --example culling
|
||||
> even off-screen).
|
||||
>
|
||||
> The GPU-driven pipeline (compute matrices → culling → indirect draws) is
|
||||
> documented in [`docs/tech/ARCHI_CPU_GPU.md`](../../docs/tech/ARCHI_CPU_GPU.md)
|
||||
> and [`docs/user/gpu-driven.md`](../../docs/user/gpu-driven.md).
|
||||
> documented in [`docs/tech/ARCHI_CPU_GPU.md`](../../../docs/tech/ARCHI_CPU_GPU.md)
|
||||
> and [`docs/user/cameras/gpu-driven.md`](../../../docs/user/cameras/gpu-driven.md).
|
||||
|
||||
@@ -295,7 +295,7 @@ impl AppHandler for Demo {
|
||||
// entity's angular offset from the view axis is bounded by atan(1.7/6.1) ≈ 15.5°, under
|
||||
// the ~22° vertical half-FOV (verified 2026-09-22: 600 frames swept, GPU==CPU on all
|
||||
// 6000 cull verdicts, zero flips on the ring). Counts only flip to 0 for entities far
|
||||
// off-axis (e.g. behind the near plane) — see docs/user/gpu-driven.md.
|
||||
// off-axis (e.g. behind the near plane) — see docs/user/cameras/gpu-driven.md.
|
||||
// Unset → 0 (the showcase stays silent); set but non-numeric (e.g. `WSG_DEBUG_DUMP=on`) → 3.
|
||||
let frames = match std::env::var("WSG_DEBUG_DUMP") {
|
||||
Ok(v) => v.parse::<u32>().ok().filter(|&n| n > 0).unwrap_or(3),
|
||||
|
||||
@@ -105,8 +105,8 @@ Useful for understanding what the `App` facade encapsulates:
|
||||
|
||||
The window and GPU are created in winit 0.30's `resumed()` callback
|
||||
(`run_app` + `ApplicationHandler`). The two-layer architecture is detailed in
|
||||
[`docs/tech/ARCHI_APP.md`](../../docs/tech/ARCHI_APP.md) and
|
||||
[`FRAME_LOOP.md`](../../docs/tech/FRAME_LOOP.md).
|
||||
[`docs/tech/ARCHI_APP.md`](../../../docs/tech/ARCHI_APP.md) and
|
||||
[`FRAME_LOOP.md`](../../../docs/tech/FRAME_LOOP.md).
|
||||
|
||||
```sh
|
||||
cargo run -p wsg-lib --example manual
|
||||
|
||||
Reference in New Issue
Block a user