
-----------------------------------
kassadin
Sun May 12, 2013 6:37 pm

Vector Dependencies with intial Movement and Gravity
-----------------------------------
Hi

I have this seminar in school where we should write a program.

I am trying for a while now on Ubuntu 12.04 with GCC and GNU Scientific Library to write a
small program for 2 objects with initial movement speed and their gravitational attraction towards 
eachother. The location of each object should be then given as a 2 dimensional x y coordinate.

The movement speed and gravity should be expressed by vectors in a numerical time series.

Thanks very much for an answer.

-----------------------------------
Nathan4102
Sun May 12, 2013 6:45 pm

RE:Vector Dependencies with intial Movement and Gravity
-----------------------------------
We don't do homework for people, and we don't write assignments for people. If you'd like, we can assist you if you have a problem though. Have you tried writing this? Where did you get to?

-----------------------------------
ncvitak
Sun Jun 09, 2013 6:42 pm

Re: Vector Dependencies with intial Movement and Gravity
-----------------------------------
start off by making a vector3f class:

class Vector3f {
public:
    float x;
    float y;
    float z;
}


