We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
While bundling this package with rollup, I discovered that b2BodyType was not exported because the enum b2BodyType is not defined correctly.
b2BodyType
In FILE: \packages\box2d\src\dynamics\b2Body.ts Line 32 - 40
export const enum b2BodyType { b2_unknown = -1, b2_staticBody = 0, b2_kinematicBody = 1, b2_dynamicBody = 2, // TODO_ERIN // b2_bulletBody = 3 }
I made this correction(I removed const) and it compiled correctly.
export enum b2BodyType { b2_unknown = -1, b2_staticBody = 0, b2_kinematicBody = 1, b2_dynamicBody = 2, // TODO_ERIN // b2_bulletBody = 3 }
Please make this correction, I'm kind of illiterate when it comes to git and Github. If someone knows how, also try to make a pull request please
Thanks and I hope this issue can be resolved.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
While bundling this package with rollup, I discovered that b2BodyType was not exported because the enum
b2BodyType
is not defined correctly.In FILE: \packages\box2d\src\dynamics\b2Body.ts Line 32 - 40
I made this correction(I removed const) and it compiled correctly.
Please make this correction, I'm kind of illiterate when it comes to git and Github.
If someone knows how, also try to make a pull request please
Thanks and I hope this issue can be resolved.
The text was updated successfully, but these errors were encountered: