mirror of
https://github.com/lisk77/comet.git
synced 2025-10-23 21:38:50 +00:00
fix: changed the name of World
to Scene
(because the name fits better)
This commit is contained in:
parent
e94df6c221
commit
ab73b145b1
8 changed files with 55 additions and 57 deletions
|
@ -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 |
|
||||
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue