X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=laserbrain_demo;a=blobdiff_plain;f=src%2Fmesh.h;h=8291aa712d805fa3cb4f28e2c91258cedd69b92c;hp=50a0d615caf67cc1903bc88a57c73e96e92daf22;hb=e0894a58b7dd8732526c4e2e196acb97cd62cd02;hpb=ae60a8cb1a30e204e7f60969fe6245e510cca0ff diff --git a/src/mesh.h b/src/mesh.h index 50a0d61..8291aa7 100644 --- a/src/mesh.h +++ b/src/mesh.h @@ -15,6 +15,7 @@ enum { MESH_ATTR_COLOR, MESH_ATTR_BONEWEIGHTS, MESH_ATTR_BONEIDX, + MESH_ATTR_TEXCOORD2, NUM_MESH_ATTR }; @@ -220,6 +221,7 @@ public: * @{ */ float get_bsphere(Vec3 *center, float *rad) const; const Sphere &get_bsphere() const; + /// @} static void set_intersect_mode(unsigned int mode); static unsigned int get_intersect_mode(); @@ -241,7 +243,7 @@ public: bool dump(const char *fname) const; bool dump(FILE *fp) const; bool dump_obj(const char *fname) const; - bool dump_obj(FILE *fp) const; + bool dump_obj(FILE *fp, int voffs = 0) const; }; #endif // MESH_H_