code cleanup:

- define array sizes for functions that take vectors.
- quiet some -Wshadow warnings.
- some copy/paste error in readfile.c made it set the same particle recalc flag twice.
This commit is contained in:
2012-10-20 08:02:18 +00:00
parent 08dd8a6849
commit 9f8070d047
21 changed files with 105 additions and 82 deletions

View File

@@ -467,7 +467,7 @@ float RE_rayobject_cost(RayObject *r)
/* Bounding Boxes */
void RE_rayobject_merge_bb(RayObject *r, float *min, float *max)
void RE_rayobject_merge_bb(RayObject *r, float min[3], float max[3])
{
if (RE_rayobject_isRayFace(r)) {
RayFace *face = (RayFace *) RE_rayobject_align(r);