DerivedMesh: minor changes to callback use

- use void instead of float for array arg (cast in the switch statement)
- remove unused args
- use const for poly-mapping and user_data args
This commit is contained in:
2015-07-15 12:42:41 +10:00
parent 7407ed7637
commit 72c7e12a5d
4 changed files with 62 additions and 55 deletions

View File

@@ -48,10 +48,6 @@ struct GSet;
struct GPUVertPointLink;
struct PBVH;
typedef void (*GPUBufferCopyFunc)(DerivedMesh *dm, float *varray, int *index,
int *mat_orig_to_new, void *user_data);
typedef struct GPUBuffer {
int size; /* in bytes */
void *pointer; /* used with vertex arrays */