diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-11-10 23:50:34 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-11-10 23:50:34 +0300 |
commit | 91446e9aadb756c35071e21bb4654bef2ef2ded1 (patch) | |
tree | d6b41d8359aa32c2a5d91719643d0dc83b02bba5 /source/blender/blenkernel/intern/anim.c | |
parent | 673396d285212962ad2937d860b73224ac489dc1 (diff) |
Math Lib
* Post-conversion commit, fixing some introduced warnings.
Diffstat (limited to 'source/blender/blenkernel/intern/anim.c')
-rw-r--r-- | source/blender/blenkernel/intern/anim.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/anim.c b/source/blender/blenkernel/intern/anim.c index e0a19da52ef..a1b138b9a74 100644 --- a/source/blender/blenkernel/intern/anim.c +++ b/source/blender/blenkernel/intern/anim.c @@ -706,7 +706,7 @@ static void face_duplilist(ListBase *lb, ID *id, Scene *scene, Object *par, floa if(par->transflag & OB_DUPLIFACES_SCALE) { float size= v4? area_quad_v3(v1, v2, v3, v4): area_tri_v3(v1, v2, v3); size= sqrt(size) * par->dupfacesca; - mul_m3_fl(mat[0], size); + mul_m3_fl(mat, size); } copy_m3_m3(mat3, mat); @@ -943,7 +943,7 @@ static void new_particle_duplilist(ListBase *lb, ID *id, Scene *scene, Object *p if(part->ren_as==PART_DRAW_GR && psys->part->draw & PART_DRAW_WHOLE_GR) { for(go= part->dup_group->gobject.first, b=0; go; go= go->next, b++) { mul_m4_m4m4(tmat, oblist[b]->obmat, pamat); - mul_mat3_m4_fl((float *)tmat, size*scale); + mul_mat3_m4_fl(tmat, size*scale); if(par_space_mat) mul_m4_m4m4(mat, tmat, par_space_mat); else @@ -965,7 +965,7 @@ static void new_particle_duplilist(ListBase *lb, ID *id, Scene *scene, Object *p copy_m4_m4(mat, pamat); mul_m4_m4m4(tmat, obmat, mat); - mul_mat3_m4_fl((float *)tmat, size*scale); + mul_mat3_m4_fl(tmat, size*scale); if(part->draw & PART_DRAW_GLOBAL_OB) VECADD(tmat[3], tmat[3], vec); |