minor cleanup to mirror code

- MirrTopoPair.hash was 'long' when only needed to be 'int'
- use 'intptr_t' rather than 'long' when the value is cast back to a pointer.
This commit is contained in:
2011-12-16 07:27:56 +00:00
parent 724868b400
commit d39adcb478
2 changed files with 57 additions and 56 deletions

View File

@@ -87,8 +87,8 @@ struct rcti;
/* meshtools.c */
intptr_t mesh_octree_table(struct Object *ob, struct EditMesh *em, float *co, char mode);
long mesh_mirrtopo_table(struct Object *ob, char mode);
intptr_t mesh_octree_table(struct Object *ob, struct EditMesh *em, float *co, char mode);
int mesh_mirrtopo_table(struct Object *ob, char mode);
struct EditVert *editmesh_get_x_mirror_vert(struct Object *ob, struct EditMesh *em, struct EditVert *eve, float *co, int index);
int mesh_get_x_mirror_vert(struct Object *ob, int index);