Skip to content

Commit

Permalink
Remove nonsense vertexData.empty() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
gongminmin committed Nov 14, 2020
1 parent b8334cc commit efca3ed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ namespace SampleAssets
const float width = 266.66f * scale;
const float height = 150.0f * scale;

vertexData.empty();
vertexData.resize(4);

vertexData[0].position = { x, y, z };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ namespace SampleAssets
const float width = 266.66f * scale;
const float height = 150.0f * scale;

vertexData.empty();
vertexData.resize(4);

vertexData[0].position = { x, y, z };
Expand Down

0 comments on commit efca3ed

Please sign in to comment.