Skip to content

Commit

Permalink
Apply (some of) PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
richchurcher committed Sep 9, 2024
1 parent d8f6caa commit 1d278b4
Show file tree
Hide file tree
Showing 5 changed files with 260 additions and 286 deletions.
35 changes: 12 additions & 23 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -872,17 +872,6 @@ description = "Shows how to create a 3D orthographic view (for isometric-look in
category = "3D Rendering"
wasm = true

[[example]]
name = "orthographic_zoom"
path = "examples/3d/orthographic_zoom.rs"
doc-scrape-examples = true

[package.metadata.example.orthographic_zoom]
name = "Orthographic Zoom"
description = "Shows how to zoom and orbit an orthographic projection camera."
category = "3D Rendering"
wasm = true

[[example]]
name = "parenting"
path = "examples/3d/parenting.rs"
Expand All @@ -894,18 +883,6 @@ description = "Demonstrates parent->child relationships and relative transformat
category = "3D Rendering"
wasm = true


[[example]]
name = "perspective_zoom"
path = "examples/3d/perspective_zoom.rs"
doc-scrape-examples = true

[package.metadata.example.perspective_zoom]
name = "Perspective Zoom"
description = "Shows how to zoom and orbit a perspective projection camera."
category = "3D Rendering"
wasm = true

[[example]]
name = "pbr"
path = "examples/3d/pbr.rs"
Expand Down Expand Up @@ -3267,6 +3244,18 @@ description = "A first-person camera that uses a world model and a view model wi
category = "Camera"
wasm = true

[[example]]
name = "projection_zoom"
path = "examples/camera/projection_zoom.rs"
doc-scrape-examples = true

[package.metadata.example.projection_zoom]
name = "Orthographic Zoom"
description = "Shows how to zoom and orbit orthographic and perspective projection cameras."
category = "Camera"
wasm = true


[package.metadata.example.fps_overlay]
name = "FPS overlay"
description = "Demonstrates FPS overlay"
Expand Down
136 changes: 0 additions & 136 deletions examples/3d/orthographic_zoom.rs

This file was deleted.

125 changes: 0 additions & 125 deletions examples/3d/perspective_zoom.rs

This file was deleted.

3 changes: 1 addition & 2 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,8 @@ Example | Description
[Meshlet](../examples/3d/meshlet.rs) | Meshlet rendering for dense high-poly scenes (experimental)
[Motion Blur](../examples/3d/motion_blur.rs) | Demonstrates per-pixel motion blur
[Orthographic View](../examples/3d/orthographic.rs) | Shows how to create a 3D orthographic view (for isometric-look in games or CAD applications)
[Orthographic Zoom](../examples/3d/orthographic_zoom.rs) | Shows how to zoom and orbit an orthographic projection camera.
[Parallax Mapping](../examples/3d/parallax_mapping.rs) | Demonstrates use of a normal map and depth map for parallax mapping
[Parenting](../examples/3d/parenting.rs) | Demonstrates parent->child relationships and relative transformations
[Perspective Zoom](../examples/3d/perspective_zoom.rs) | Shows how to zoom and orbit a perspective projection camera.
[Physically Based Rendering](../examples/3d/pbr.rs) | Demonstrates use of Physically Based Rendering (PBR) properties
[Reflection Probes](../examples/3d/reflection_probes.rs) | Demonstrates reflection probes
[Render to Texture](../examples/3d/render_to_texture.rs) | Shows how to render to a texture, useful for mirrors, UI, or exporting images
Expand Down Expand Up @@ -257,6 +255,7 @@ Example | Description
--- | ---
[2D top-down camera](../examples/camera/2d_top_down_camera.rs) | A 2D top-down camera smoothly following player movements
[First person view model](../examples/camera/first_person_view_model.rs) | A first-person camera that uses a world model and a view model with different field of views (FOV)
[Orthographic Zoom](../examples/camera/projection_zoom.rs) | Shows how to zoom and orbit orthographic and perspective projection cameras.

## Dev tools

Expand Down
Loading

0 comments on commit 1d278b4

Please sign in to comment.