Any ideas? Anyone know where i can go to find the answer?
Type: Posts; User: jwcoleman
Any ideas? Anyone know where i can go to find the answer?
Trying to use a very simple example to get things started, here is the code:
package VectorMath;
/*
* To change this template, choose Tools | Templates
* and open the template in the...
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,...
Is your problem loop logic or how to extract an integer from a string? Maybe a little of both?
Please take your question out of the middle of your code and restate it more clearly.
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...