Skip to content

pickMatrix validation - 'center' function agrument is being validated instead of 'delta' #127

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

Merged
merged 1 commit into from
Jul 20, 2021

Conversation

benraziel
Copy link
Contributor

in glm.pickMatrix() function:
glm.pickMatrix(center: vec2, delta: vec2, viewport: vec4) -> mat4

Fixed bug where center (the first agrument) was validated, instead of delta (the second argument)

relevant glm code, for reference: glm pickMatrix implementation

@benraziel benraziel changed the title pickMatrix validation - 'center' parameter is being validated instead of 'delta' pickMatrix validation - 'center' function agrument is being validated instead of 'delta' Jul 20, 2021
@Zuzu-Typ Zuzu-Typ self-assigned this Jul 20, 2021
@Zuzu-Typ Zuzu-Typ added the bug label Jul 20, 2021
@Zuzu-Typ
Copy link
Owner

Hey there (:

Thanks a lot for finding and fixing it!
I'll publish the fix with a new version right away.

Cheers
--Zuzu_Typ--

@Zuzu-Typ Zuzu-Typ merged commit a10771d into Zuzu-Typ:master Jul 20, 2021
@benraziel
Copy link
Contributor Author

no problem,
Thank you for maintaining this library, its been super useful to me :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants