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

Idea: "squared.js" #3

Closed
mattdesl opened this issue Jul 2, 2015 · 1 comment
Closed

Idea: "squared.js" #3

mattdesl opened this issue Jul 2, 2015 · 1 comment

Comments

@mattdesl
Copy link

mattdesl commented Jul 2, 2015

Often in graphics dev you only need the squared result and can avoid a sqrt operation. It might be cool to expose the following:

var distSq = require('euclidean-distance/squared')

It would also go well alongside this module:
https://github.com/mattdesl/magnitude

@zeke
Copy link
Owner

zeke commented Dec 28, 2015

Hi @mattdesl. Six months later, your wish is granted! For some reason I wasn't subscribed to github notifications for this repo, so I missed this issue. I just published 1.0.0 with the above-suggested squared support.

@zeke zeke closed this as completed Dec 28, 2015
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