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

Missing rand method in RandomGenerator in littlejs.esm.js #76

Closed
Lukenickerson opened this issue Apr 16, 2024 · 1 comment
Closed

Missing rand method in RandomGenerator in littlejs.esm.js #76

Lukenickerson opened this issue Apr 16, 2024 · 1 comment

Comments

@Lukenickerson
Copy link
Contributor

I believe the float method is supposed to be called rand.

The int method (https://github.com/KilledByAPixel/LittleJS/blob/main/build/littlejs.esm.js#L652) calls a method named "rand" which doesn't exist. I believe this is the same as "float": https://github.com/KilledByAPixel/LittleJS/blob/main/build/littlejs.esm.js#L639

@KilledByAPixel
Copy link
Owner

Fixed! Will update build soon...

de0f9da

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