1
0
Fork 0

Updates from Christian Mayer.

This commit is contained in:
curt 1999-10-20 22:15:41 +00:00
parent 62ec5d7c22
commit 0e48fe8ac4

View file

@ -172,8 +172,9 @@ void balloon::update()
sgVec3 v;
//get the current wind velocity and store it in v
Point3D temp = WeatherDatabase->get(position).Wind;
sgSetVec3(v, temp.x(), temp.y(), temp.z());
//Point3D temp = WeatherDatabase->get(position).Wind;
//sgSetVec3(v, temp.x(), temp.y(), temp.z());
sgCopyVec3(v, WeatherDatabase->get(position).Wind );
sgSubVec3(v, velocity);
float speed = sgLengthVec3(v);