Constructors
constructor
- new OBB(minX: number, minY: number, maxX: number, maxY: number, orientation: number): OBB
-
Parameters
-
minX: number
-
minY: number
-
maxX: number
-
maxY: number
-
orientation: number
Returns OBB
Methods
overlap
- overlap(obb: OBB): boolean
-
Parameters
Returns boolean
update
- update(minX: number, minY: number, maxX: number, maxY: number, orientation: number): void
-
Parameters
-
minX: number
-
minY: number
-
maxX: number
-
maxY: number
-
orientation: number
Returns void