ivan.cuevas Posted November 17, 2015 Share Posted November 17, 2015 Hi all, I'm computing a bound sphere to enclose a set of points. I'm using double precision version and I found this error message: BoundSphere::expand(): unknown type of argument (dvec3) Why BoundSphere doesn't support double precision? It's my fault? it's a bug? or is there another reason? Thanks. Link to comment
maxi Posted November 18, 2015 Share Posted November 18, 2015 Hi Iván, In case of double precision coordinates, the bounding sphere should be constructed by using the WorldBoundSphere class. It includes the same functions as the BoundSphere class, but its functions deal with the double precision coordinates. NoticeTo support both single and double precision builds, you can use the WorldBoundSphere class only. The engine will automatically substitute it with the BoundSphere if it is required. Please, check the documentation: https://developer.unigine.com/en/docs/2.0/scripting/library/bounds/class.boundsphere?words=worldboundsphere,worldboundspher#highlight Link to comment
ivan.cuevas Posted November 18, 2015 Author Share Posted November 18, 2015 Ok maxi, thanks for the explanation. Link to comment
Recommended Posts