X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fcmesh.h;h=a73cd208802872f8510553e61033a544cf19791e;hb=1b62e1cf0e1cf019b42ee232ba838d06c55b8cda;hp=2039e100b1f87e4192370569cd26b938366282f4;hpb=0556b7a32c4d197261e0c1b9df12a1f1c302b880;p=vrtris diff --git a/src/cmesh.h b/src/cmesh.h index 2039e10..a73cd20 100644 --- a/src/cmesh.h +++ b/src/cmesh.h @@ -60,7 +60,7 @@ unsigned int *cmesh_index(struct cmesh *cm); /* invalidates IBO */ const unsigned int *cmesh_index_ro(struct cmesh *cm); /* doesn't invalidate */ int cmesh_index_count(struct cmesh *cm); -int get_poly_count(struct cmesh *cm); +int cmesh_poly_count(struct cmesh *cm); /* attr can be -1 to invalidate all attributes */ void cmesh_invalidate_vbo(struct cmesh *cm, int attr); @@ -83,7 +83,7 @@ void cmesh_flip(struct cmesh *cm); /* flip faces (winding) and normals */ void cmesh_flip_faces(struct cmesh *cm); void cmesh_flip_normals(struct cmesh *cm); -void cmesh_explode(struct cmesh *cm); /* undo all vertex sharing */ +int cmesh_explode(struct cmesh *cm); /* undo all vertex sharing */ /* this is only guaranteed to work on an exploded mesh */ void cmesh_calc_face_normals(struct cmesh *cm);