Skip to content

Commit

Permalink
Rename example: fog -> effect
Browse files Browse the repository at this point in the history
asny committed Nov 28, 2024
1 parent 069523d commit 20d6b1d
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -154,8 +154,8 @@ path = "examples/image/src/main.rs"
required-features = ["egui-gui"]

[[example]]
name = "fog"
path = "examples/fog/src/main.rs"
name = "effect"
path = "examples/effect/src/main.rs"

[[example]]
name = "particles"
4 changes: 2 additions & 2 deletions examples/README.md
Original file line number Diff line number Diff line change
@@ -112,9 +112,9 @@ This is the same as the `Triangle` example, except it only uses the core module

![Point cloud example](https://asny.github.io/three-d/0.18/point_cloud.png)

## Fog [[code](https://github.com/asny/three-d/tree/master/examples/fog/src/main.rs)] [[demo](https://asny.github.io/three-d/0.18/fog.html)]
## Effect [[code](https://github.com/asny/three-d/tree/master/examples/effect/src/main.rs)] [[demo](https://asny.github.io/three-d/0.18/effect.html)]

![Fog example](https://asny.github.io/three-d/0.18/fog.png)
![Effect example](https://asny.github.io/three-d/0.18/effect.png)

## Particles [[code](https://github.com/asny/three-d/tree/master/examples/particles/src/main.rs)] [[demo](https://asny.github.io/three-d/0.18/particles.html)]

2 changes: 1 addition & 1 deletion examples/fog/Cargo.toml → examples/effect/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "fog"
name = "effect"
version = "0.1.0"
authors = ["Asger Nyman Christiansen <[email protected]>"]
edition = "2021"
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/fog/src/main.rs → examples/effect/src/main.rs
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ use three_d::*;

pub async fn run() {
let window = Window::new(WindowSettings {
title: "Fog!".to_string(),
title: "Effect!".to_string(),
max_size: Some((1280, 720)),
..Default::default()
})

0 comments on commit 20d6b1d

Please sign in to comment.