diff options
author | chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> | 2014-02-27 13:55:11 +0000 |
---|---|---|
committer | chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> | 2014-02-27 13:55:11 +0000 |
commit | 17276fa13b40614cb682c2afb83717ae06e75e0e (patch) | |
tree | d3709753041a9f2cdf98873e1974bc9c4cb8dcf6 /global.h | |
parent | 2658fdbdada65e5c6b2db22a4f9738af3106e7a7 (diff) | |
download | bullet-lab-remix-17276fa13b40614cb682c2afb83717ae06e75e0e.tar.xz |
New level, minor interface changes.
Diffstat (limited to 'global.h')
-rw-r--r-- | global.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -102,6 +102,7 @@ struct Bullet bulletdir.y=bulletpos.y-targ.y; dist=bulletdir.x*bulletdir.x+bulletdir.y*bulletdir.y; dist=sqrt(dist); + bulletdir.x/=dist;bulletdir.y/=dist;dist=1; } void setdir(double rad) { |