fix: changed the name of World to Scene (because the name fits better)

This commit is contained in:
lisk77 2025-03-11 01:23:33 +01:00
parent e94df6c221
commit ab73b145b1
8 changed files with 55 additions and 57 deletions

View file

@ -7,8 +7,8 @@ Simply run
cargo run --example <example_name>
```
| Example | Description |
|------------------------------------|-----------------------------------------------------------------------------------------|
| [hello_world](hello_world) | A simple boilerplate example to show how to properly start creating a Comet App. |
| [textured_entity](textured_entity) | This covers the basics on how to create a camera and your first entity with a texture |
| Example | Description |
|---------------------------------------------------|-----------------------------------------------------------------------------------------|
| [hello_world](comet/examples/hello_world) | A simple boilerplate example to show how to properly start creating a Comet App. |
| [textured_entity](comet/examples/textured_entity) | This covers the basics on how to create a camera and your first entity with a texture |

View file

@ -21,7 +21,7 @@ fn setup(app: &mut App, renderer: &mut Renderer2D) {
}
fn update(app: &mut App, renderer: &mut Renderer2D, dt: f32) {
renderer.render_scene_2d(app.world())
renderer.render_scene_2d(app.scene())
}
fn main() {