Replaced center_xyz and size_xyz by vec3 center and size