There is a bug in method declaration ClosestRayIntersection of the FBModel class. The last argument specified as FBNormal type (float precision), but to tell the truth function operate with FBTVector (double precision) type. As the result there is a stack overflow when you execute this function as it’s declared.

The way out is quite simple, I have added a new gist.

OR SDK bug in ClosestRayIntersection
Tagged on:             

Leave a Reply

Your email address will not be published. Required fields are marked *