projects
/
laserbrain_demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stash/unstash clunky as fuck
[laserbrain_demo]
/
src
/
mesh.h
diff --git
a/src/mesh.h
b/src/mesh.h
index
50a0d61
..
8291aa7
100644
(file)
--- a/
src/mesh.h
+++ b/
src/mesh.h
@@
-15,6
+15,7
@@
enum {
MESH_ATTR_COLOR,
MESH_ATTR_BONEWEIGHTS,
MESH_ATTR_BONEIDX,
MESH_ATTR_COLOR,
MESH_ATTR_BONEWEIGHTS,
MESH_ATTR_BONEIDX,
+ MESH_ATTR_TEXCOORD2,
NUM_MESH_ATTR
};
NUM_MESH_ATTR
};
@@
-220,6
+221,7
@@
public:
* @{ */
float get_bsphere(Vec3 *center, float *rad) const;
const Sphere &get_bsphere() const;
* @{ */
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();
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(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_
};
#endif // MESH_H_