I want to read more about dot and cross products, as a programmer I understand that I must use them for important calculations, but from a mathematical concept I don't fully understand their...
Type: Posts; User: jwcoleman
I want to read more about dot and cross products, as a programmer I understand that I must use them for important calculations, but from a mathematical concept I don't fully understand their...
Many vector calculations require this immutable approach. One issue I foresee though is with the translation of vectors. When a 3d object moves through 3d space it's data elements become mutable,...
This differs from C++ :), thank you for your input.
In C++ I would declare it as data[2] knowing 0 counted as the first element. At least I'm pretty sure about this.
Also, I didn't realize that...
After reading some other examples, I learned that I could do this:
public Vector3 add(Vector3 v){
return new Vector3(x()+v.x(), y()+v.y(), z()+v.z());
}
I didn't know that I...
Just switching from C++ to Java. I'm working on a Vector3 class, and eventually want to build a triangle class based off of it. I've been inspired due to the fact that the next 6 semesters I will...