Browse Source

fix notation in simple_mesh example

testing
cinnaboot 6 years ago
parent
commit
6e60174d40
  1. 2
      examples/simple_mesh/main.cpp

2
examples/simple_mesh/main.cpp

@ -21,7 +21,7 @@ main()
rs->render_groups = renAllocateGroup(1, sw); rs->render_groups = renAllocateGroup(1, sw);
rs->render_group_count = 1; rs->render_group_count = 1;
entity& e = rs->render_groups->entities[0]; entity& e = rs->render_groups[0].entities[0];
// manually construct a simple mesh // manually construct a simple mesh
simple_mesh mesh = {0}; simple_mesh mesh = {0};
mesh.num_vertices = 4; mesh.num_vertices = 4;

Loading…
Cancel
Save