define the size of matrix args for both rows/cols.

This commit is contained in:
2012-12-11 14:29:01 +00:00
parent e2f0a1e4db
commit 7c699a217a
84 changed files with 340 additions and 335 deletions

View File

@@ -75,7 +75,7 @@ typedef struct InstanceRayObject {
} InstanceRayObject;
RayObject *RE_rayobject_instance_create(RayObject *target, float transform[][4], void *ob, void *target_ob)
RayObject *RE_rayobject_instance_create(RayObject *target, float transform[4][4], void *ob, void *target_ob)
{
InstanceRayObject *obj = (InstanceRayObject *)MEM_callocN(sizeof(InstanceRayObject), "InstanceRayObject");
assert(RE_rayobject_isAligned(obj) ); /* RayObject API assumes real data to be 4-byte aligned */