Kaydet (Commit) 93268d37 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

avoid temporary copy

Change-Id: Ica949141c58d7ebb85f246dee4109c39ee8f889e
üst 832f44c8
......@@ -141,7 +141,7 @@ struct RoundBarMesh
struct PackedVertex{
glm::vec3 position;
glm::vec3 normal;
bool operator<(const PackedVertex that) const{
bool operator<(const PackedVertex& that) const{
return memcmp((void*)this, (void*)&that, sizeof(PackedVertex))>0;
};
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment