bryanedds / Nu

Repository hosting the open-source Nu Game Engine and related projects.
MIT License
1.05k stars 151 forks source link

Add Segment value types. #777

Closed bryanedds closed 1 week ago

bryanedds commented 2 months ago

Currently using struct (Vector3 * Vector3) but we should provide a direct representation via a Segment3. I guess we also need a Segment2 type as well... and maybe even a Segment of dimension 1 (Range?)

bryanedds commented 1 week ago

Done.