-
Notifications
You must be signed in to change notification settings - Fork 202
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
Primitive operations on Points #171
Comments
I've implemented the same functionality you describe in a couple of places, and used |
That's a good point, although what's the difference between a That said, |
Hmm. I think this depends on the model, but I'd consider points to represent an absolute position in space, without any other dimensions. Which also describes |
For the record, there was some discussion here: #15 |
I just noticed there isn't an impl for multiplying/dividing a
Point<F>
byF
. Has this been left out on purpose?My specific use case is creating a unit vector. My current code looks like this
However it'd be nice if I could skip the
Point::new()
call and just do something like this:The text was updated successfully, but these errors were encountered: