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

What is the use of Quad.swap(bool)? #9

Closed
nvanfleet opened this issue Jun 20, 2023 · 1 comment
Closed

What is the use of Quad.swap(bool)? #9

nvanfleet opened this issue Jun 20, 2023 · 1 comment

Comments

@nvanfleet
Copy link

Hey there, I was trying to figure this out in another language, and I can't figure out what

Quad(Float, Float, Float, Float).swap(Bool) is supposed to be doing.

reference:

).swap(solid2))

I get that there is a Quad object, which I believe is x, y, w, h. But I'm not sure what the swap(bool) function does. Is this flipping the face or something? Sorry I can't find documentation for utils3d anyplace so I don't really know where to go.

@BorisTheBrave
Copy link
Owner

Yes, it flips the face. I don't remember why i called it swap.

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

2 participants