Skip to content

Commit

Permalink
Update tutorials for nannou_core and glam refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchmindtree committed Jun 18, 2021
1 parent 847f368 commit 71b6ee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guide/src/tutorials/basics/window-coordinates.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ like so:
# use nannou::prelude::*;
# fn main() {
# let draw: Draw = unimplemented!();
let r = Rect::from_w_h(100.0, 100.0);
let r = Rect::from_w_h(100.0f32, 100.0f32);
draw.rect()
.xy(r.xy())
.wh(r.wh())
Expand Down

0 comments on commit 71b6ee8

Please sign in to comment.