Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-04-29 19:47:02 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-29 19:47:02 +0400
commite701f9b67010279db02ceb51f7d08078cb34170a (patch)
tree22134b33527f2d3a1b05f4265422bf5d98420bbc /source/blender/blenkernel/intern/anim.c
parent038c12895f50a97607dd372cb0780c55eb38fe22 (diff)
style cleanup: whitespace / commas
Diffstat (limited to 'source/blender/blenkernel/intern/anim.c')
-rw-r--r--source/blender/blenkernel/intern/anim.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/anim.c b/source/blender/blenkernel/intern/anim.c
index 38c73ba72b9..7afcd828573 100644
--- a/source/blender/blenkernel/intern/anim.c
+++ b/source/blender/blenkernel/intern/anim.c
@@ -863,9 +863,9 @@ static void vertex_dupli__mapFunc(void *userData, int index, const float co[3],
vec[0]= -no_s[0]; vec[1]= -no_s[1]; vec[2]= -no_s[2];
}
- vec_to_quat( q2,vec, vdd->ob->trackflag, vdd->ob->upflag);
+ vec_to_quat(q2, vec, vdd->ob->trackflag, vdd->ob->upflag);
- quat_to_mat3( mat,q2);
+ quat_to_mat3(mat, q2);
copy_m4_m4(tmat, obmat);
mul_m4_m4m3(obmat, tmat, mat);
}
@@ -1142,8 +1142,8 @@ static void face_duplilist(ListBase *lb, ID *id, Scene *scene, Object *par, floa
copy_v3_v3(obmat[3], cent);
/* rotation */
- tri_to_quat( quat,v1, v2, v3);
- quat_to_mat3( mat,quat);
+ tri_to_quat(quat, v1, v2, v3);
+ quat_to_mat3(mat, quat);
/* scale */
if (par->transflag & OB_DUPLIFACES_SCALE) {
@@ -1329,7 +1329,7 @@ static void new_particle_duplilist(ListBase *lb, ID *id, Scene *scene, Object *p
else
a = totpart;
- for (pa=psys->particles,counter=0; a<totpart+totchild; a++,pa++,counter++) {
+ for (pa=psys->particles, counter=0; a<totpart+totchild; a++, pa++, counter++) {
if (a<totpart) {
/* handle parent particle */
if (pa->flag & no_draw_flag)
@@ -1505,7 +1505,7 @@ static Object *find_family_object(Object **obar, char *family, char ch)
ob= G.main->object.first;
while (ob) {
- if ( ob->id.name[flen+2]==ch ) {
+ if (ob->id.name[flen + 2] == ch) {
if ( strncmp(ob->id.name+2, family, flen)==0 ) break;
}
ob= ob->id.next;