Skip to content

Segment ​

Struct

Source: CollisionTypes.h

Description ​

Represents a 2D line segment for collision detection.

Properties ​

NameTypeDescription
x1pixelroot32::math::ScalarStart X coordinate.
y1pixelroot32::math::ScalarStart Y coordinate.
x2pixelroot32::math::ScalarEnd X coordinate.
y2pixelroot32::math::ScalarEnd Y coordinate.

Released under the MIT License.