Search:

Type: Posts; User: jwcoleman

Search: Search took 0.10 seconds.

  1. Replies
    9
    Views
    3,215

    I want to read more about dot and cross products,...

    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...
  2. Replies
    9
    Views
    3,215

    Many vector calculations require this immutable...

    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,...
  3. Replies
    9
    Views
    3,215

    Re: Vector3 Class

    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...
  4. Replies
    9
    Views
    3,215

    Re: Vector3 Class

    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...
  5. Replies
    9
    Views
    3,215

    Vector3 Class

    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...
Results 1 to 5 of 5