math.gl
math.gl copied to clipboard
culling: construct OBB from I3S format (quaternion)
It would be helpful to be able to create OrientedBoundingBox from I3S obb object which has format:
{
center: [x, y, z],
halfSize: [s1, s2, s3],
quaternion: [x, y, z, w]
}
https://github.com/Esri/i3s-spec/blob/master/docs/1.7/obb.cmn.md