toggle menu
BunyipsLib
v6.0.0-master-33a554fa
BunyipsLib
switch theme
search in API
BunyipsLib
/
au.edu.sa.mbhs.studentrobotics.bunyipslib.transforms
/
Rect
/
Rect
Rect
constructor
(
@
NonNull
p1
:
Vector2d
,
@
NonNull
p2
:
Vector2d
,
@
NonNull
unit
:
Distance
)
Create a new Rect based on two points.
Parameters
p1
point 1
p2
point 2
unit
the unit used for point 1 and 2