mirror of
https://github.com/lisk77/comet.git
synced 2025-10-24 05:48:50 +00:00
fix: fixed main.rs in README.md
This commit is contained in:
parent
9e810c9e0e
commit
683ef952ba
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ impl GameState {
|
||||||
// This function will be called once before the event loop starts
|
// This function will be called once before the event loop starts
|
||||||
fn setup(app: &mut App, renderer: &mut Renderer2D) {}
|
fn setup(app: &mut App, renderer: &mut Renderer2D) {}
|
||||||
// This function will be called every tick
|
// This function will be called every tick
|
||||||
fn update(app: &mut App, renderer: &mut Renderer2D) {}
|
fn update(app: &mut App, renderer: &mut Renderer2D, dt: f32) {}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
App::new(App2D) // Generate a basic 2D app
|
App::new(App2D) // Generate a basic 2D app
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue