Boks2D
Toggle table of contents
0.1.1
common
Target filter
common
Switch theme
Search in API
Skip to content
Boks2D
Boks2D
/
io.github.joaomcl.boks2d.shapes
/
Segment
Segment
data
class
Segment
(
val
point1
:
Vec2
,
val
point2
:
Vec2
)
A line segment shape geometry.
Parameters
point1
The first point of the segment
point2
The second point of the segment
Members
Constructors
Segment
Link copied to clipboard
constructor
(
point1
:
Vec2
,
point2
:
Vec2
)
Properties
point1
Link copied to clipboard
val
point1
:
Vec2
point2
Link copied to clipboard
val
point2
:
Vec2