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
dxDrawLine3D, make possible nice connection between each line #871
Comments
I feel like this should be left to the persons executing the draw, you know the width and end position of each line. It's not too hard to calculate from there either a square that goes over the corner, or adjust the end points so that they extend to the edge of each other. |
As an option it may be a filled circle (it's simpler to calculate, because you have not needed to find the corners, etc) |
Is a dxDrawCircle at the intersection point with Also, love2d has This is their implementation. |
half of the lineWidth I guess |
I agree, although we could probably publish this calculation as a "useful script" somewhere (as this offset changes depending on the angle between the two lines). (Actually I don't think an offset is all you need — the
Also, probably only suitable if you want a rounded edge. |
I like the idea of it being a useful script, and yeah the love2d options look very nice. |
I propose adding additional arguments to the end of Old
New
And do the same for |
Is your feature request related to a problem? Please describe.
When you want to make 2 3d lines, nicely connected together, you just can't do this
Describe the solution you'd like
my solution is:
skip first
start x,y,z
in second dxDrawLine3D, and new line will start from lastend x,y,z
and gap will filed with another line 3dblue rectangle is new one which would be created
Describe alternatives you've considered
/
Additional context
This is only cosmetic issue
The text was updated successfully, but these errors were encountered: