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

inconsistent Vec2 construction throughout examples #273

Open
mreinstein opened this issue Feb 12, 2024 · 0 comments
Open

inconsistent Vec2 construction throughout examples #273

mreinstein opened this issue Feb 12, 2024 · 0 comments

Comments

@mreinstein
Copy link

On this page, it uses a factory style init:
(from https://piqnt.com/planck.js/docs/body)
Screenshot 2024-02-12 at 11 54 13 AM

This one uses traditional new constructor:
(from https://piqnt.com/planck.js/docs/hello-world)
Screenshot 2024-02-12 at 12 04 34 PM

Which one is correct?

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