ObjectHelper.OyBB Class
Bounding Box Oriented along Y axis. Same as OBB but the rotation is only along the Y axis, which saves some computations.
in order to keep things simple and limit space complexity, this class holds minimal mandatory properties.
Constructor
ObjectHelper.OyBB
(
-
dimension
-
matrix
Parameters:
-
dimension
BABYLON.Vector3the vector from the origin to the top corner ( positive vector )
-
matrix
BABYLON.Matrixthe transormation matrix of the box, should be a rotationY combined with a translation