LineToolsLineSegmentAABBIntersect Method |
Get all intersections between a line segment and an AABB.
Namespace: Internal.tainicom.Aether.Physics2D.CommonAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic static Vertices LineSegmentAABBIntersect(
ref Vector2 point1,
ref Vector2 point2,
AABB aabb
)
Parameters
- point1 Vector2
- The first point of the line segment to test
- point2 Vector2
- The second point of the line segment to test.
- aabb AABB
- The AABB that is used for testing intersection.
Return Value
Vertices
See Also