24 asteroid_physics_offset=0;
27 float x=2*difficulty*((
float)rand())/RAND_MAX-difficulty;
28 float y=2*difficulty*((
float)rand())/RAND_MAX-difficulty;
29 float z=2*difficulty*((
float)rand())/RAND_MAX-difficulty;
30 (*iter)->SetAngularVelocity(
Vector(x,y,z));
39 switch (smaller->
isUnit()) {
44 smaller->
reactToCollision(
this,smalllocation,smallnormal,biglocation,bignormal,dist);