Skip to content

Implement 2D Ray type #230

@tomrijnbeek

Description

@tomrijnbeek

🆙 Improvement proposal

Implement a type to represent a ray. We should have both 2D and 3D rays. This issue specifically proposes to implement a 2D ray.

Context

Ray-ray intersections, and other geometric constructions or intersections, are a common staple in games. Having a single implementation, which is correct (enforced by tests) and performant (ideally enforced by benchmarks) would be hugely beneficial. Having a ray representation would be the first requirement in implementing geometric constructions around rays.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhacktoberfestGood issues to contribute as part of Hacktoberfest

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions