-
Notifications
You must be signed in to change notification settings - Fork 20
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
Naming: Clarify what "normalization" means #28
Comments
The function |
Alternatively we could get rid of |
@trettberg That may be its only use for now, but we should call it wherever normal vectors are passed to functions, see #20. |
I just stumbled across this problem. |
In #34 I introduced now |
Please have a look at this:
For subtracting, I first have to create an array, which is not consistent with our array_like structure elsewhere. But actually I just have to specify the base of the vector to be Should we rather introduce a new function, or extend the existing? |
I agree that we need a way to subtract vectors (without having a vector data type), but I'm not sure if it is obvious enough what a function named Does it just subtract or also normalize? Also, Python doesn't do function overloading, so having the same The concept of a "base" in this context is new to me, I'm not sure if that's easy enough to understand. What we need is something similar to a "look at" function. At some point, we might need a "up" vector, too. So it's probably good to think about that as well. |
Sorry, I think the accurate term is "initial point" of a vector. |
I still think it's a bit awkward to have this as an optional argument of Probably we shouldn't even use the word "vector", but instead something with the word "orientation" or "direction"? I've created a separate issue for "view" and "up" vectors, which is probably related to this issue: #36. |
Currently we have
sfs.util.normalize()
andsfs.util.normal_vector()
which do very different things.This might be confusing.
The text was updated successfully, but these errors were encountered: