Skip to content

Commit

Permalink
crate_mesh -> create_mesh
Browse files Browse the repository at this point in the history
  • Loading branch information
emberian committed Jul 27, 2014
1 parent 4f8b3b1 commit ce64284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _posts/2014-07-25-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ In order to begin drawing we'll need to prepare:
Vertex { pos: [ 0.5, 0.5 ], color: [0.0, 1.0, 0.0] },
Vertex { pos: [ 0.0, 0.5 ], color: [0.0, 0.0, 1.0] }
];
let mesh = renderer.crate_mesh(vertex_data);
let mesh = renderer.create_mesh(vertex_data);
let program = renderer.create_program(...);
let bundle = renderer.bundle_program(program, ()).unwrap();

Expand Down

0 comments on commit ce64284

Please sign in to comment.