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

Some new functions #119

Merged
merged 7 commits into from
Feb 2, 2015
Merged

Some new functions #119

merged 7 commits into from
Feb 2, 2015

Conversation

flowtsohg
Copy link
Contributor

I am not sure how useful the interpolation functions are for other people.
mat4.fromRotationTranslationScale sure is useful, at least for me.

@flowtsohg
Copy link
Contributor Author

Did a small jsperf test for the origin-based matrix constructor: http://jsperf.com/glmatrix-matrix-variant-test/3

@flowtsohg flowtsohg closed this May 3, 2014
@flowtsohg flowtsohg reopened this May 3, 2014
toji added a commit that referenced this pull request Feb 2, 2015
@toji toji merged commit 983967a into toji:master Feb 2, 2015
@mattdesl
Copy link

If you ask me stuff like sqlerp, hermite and bezier interpolation is a bit out of scope for a vector/matrix library. It adds bloat, maintenence burden to gl-matrix and introduces version woes (for example: a major semver change in vec3.hermite even though the rest of the API is unchanged).

There's lots of spline/curve/etc interpolations on npm thanks to @thibauts @mikolalysenko @hughsk and others. More variety is always a good thing if you're willing to publish them to npm! 👍

https://www.npmjs.com/package/bezier
https://www.npmjs.com/package/cubic-hermite
https://www.npmjs.com/package/cubic-hermite-spline/
https://www.npmjs.com/package/b-spline
https://www.npmjs.com/package/bezier-curve
https://www.npmjs.com/package/adaptive-bezier-curve
https://www.npmjs.com/package/cubic-bezier
https://www.npmjs.com/package/cubic-spline
https://www.npmjs.com/package/bezier-easing
https://www.npmjs.com/package/smoothstep
https://www.npmjs.com/package/bicubic-sample

@rymohr
Copy link

rymohr commented Oct 8, 2015

Is this included in the docs anywhere? I was looking for a helper like this but didn't see it in http://glmatrix.net/docs/2.2.0/symbols/mat4.html. Wondering what other helpers I might be missing.

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

Successfully merging this pull request may close these issues.

4 participants