Internal node links are now cached in a per-node list, instead of being generated...
[blender.git] / source / blender / blenkernel / intern / boids.c
index 43f795eeee5ca7c20472d67f923484e8c0fd8fab..b6f1b88c91258df851806692b0617f1bf978bd10 100644 (file)
@@ -1172,7 +1172,7 @@ void boid_body(BoidBrainData *bbd, ParticleData *pa)
 
                        /* constrain direction with maximum angular velocity */
                        angle = saacos(dot_v3v3(old_dir, wanted_dir));
-                       angle = minf(angle, val.max_ave);
+                       angle = min_ff(angle, val.max_ave);
 
                        cross_v3_v3v3(nor, old_dir, wanted_dir);
                        axis_angle_to_quat(q, nor, angle);