bug in ac_object_find_bound
When I call ac_object_find_bound for a real object with this code:
Point3 pmin, pmax;
if (ac_object_find_bound(pObject, &pmax, &pmin)) {
std::cout << "Ob " << ac_object_get_name(pObject) << " min " << pmin.x<<","<<pmin.y<<","<<pmin.z
<< " max " << pmax.x <<","<< pmax.y <<","<< pmax.z << std::endl;
}
A typical print out is:
"Ob sphere min -0.89,-1.#QNAN,-0.5 max 3.89176e+033,0.62,0.5"
the x & z min values, and the y, z sizes are actually correct. The object is not infinitely large!
Is this a bug or a change in the arguments from the prototype?
|