X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fvertexformat.h;h=3561292245fc640deb2859629cbf8f39c1776e5b;hb=bec07999d95b76f4b47cffcc564d0cd0afc0435e;hp=bcb5b9251ebc73468237e83f2065f9c6a62187ed;hpb=a40fc85277dba5c34402a0e703d038efd30cc57b;p=libs%2Fgl.git diff --git a/source/vertexformat.h b/source/vertexformat.h index bcb5b925..35612922 100644 --- a/source/vertexformat.h +++ b/source/vertexformat.h @@ -44,6 +44,8 @@ public: VertexFormat operator,(VertexComponent c) const; VertexFormat operator,(unsigned i) const; + bool operator==(const VertexFormat &) const; + bool operator!=(const VertexFormat &other) const { return !(*this==other); } bool empty() const { return !count; } const unsigned char *begin() const { return components; }