Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Drawing 2D Rays, and Lines, not just vectors. #173

Open
jerryepratt opened this issue Mar 26, 2024 · 0 comments
Open

Feature Request: Drawing 2D Rays, and Lines, not just vectors. #173

jerryepratt opened this issue Mar 26, 2024 · 0 comments

Comments

@jerryepratt
Copy link

When you draw a Line in the YoGraphics Properties Panel, it draws a line segment, starting from the start point in the direction of the line.

It would also be nice to be able to draw a line (off to infinity in both directions) and a ray (off to infinity in one direction).

If not to infinity, it would be nice to be able to set the line length or something like that instead.

Right now the line goes from the start point in the direction. It's length is one if the line has been normalized for some reason. Otherwise, it goes from the start point to the end point. Better would be to have a line segment (different object from a line) that goes from start to end and a line that goes from start and infinity in the directions. And a Ray that goes in from the start to infinity in one direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant