diff options
author | Andre Susano Pinto <andresusanopinto@gmail.com> | 2008-08-06 19:46:38 +0400 |
---|---|---|
committer | Andre Susano Pinto <andresusanopinto@gmail.com> | 2008-08-06 19:46:38 +0400 |
commit | e57c5ef56c306fe495346525fb9d1f9bcf8cfd2b (patch) | |
tree | 583288ed1eab4ad4cc3fb7b6a6f8fc2115b1c245 /source/blender/blenkernel/BKE_deform.h | |
parent | 2d04b641d4eb6d6e20a72067c1f55f2d4a6cdd9a (diff) |
Fixed non_recursive BVHbuild with openmp
CHanged the BENCH functions to use: gettimeofday (wall time) instead of clock (cpu time)
This was to test if the openmp was working right.
Diffstat (limited to 'source/blender/blenkernel/BKE_deform.h')
-rw-r--r-- | source/blender/blenkernel/BKE_deform.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_deform.h b/source/blender/blenkernel/BKE_deform.h index b0570e8bd45..73a9b2b5d4e 100644 --- a/source/blender/blenkernel/BKE_deform.h +++ b/source/blender/blenkernel/BKE_deform.h @@ -46,8 +46,8 @@ int get_defgroup_num (struct Object *ob, struct bDeformGroup *dg); int get_named_vertexgroup_num (Object *ob, char *name); void unique_vertexgroup_name (struct bDeformGroup *dg, struct Object *ob); -float deformvert_get_weight(struct MDeformVert *dvert, int group_num); -float vertexgroup_get_vertex_weight(struct MDeformVert *dvert, int index, int group_num); +float deformvert_get_weight(const struct MDeformVert *dvert, int group_num); +float vertexgroup_get_vertex_weight(const struct MDeformVert *dvert, int index, int group_num); #endif |