Changeset db58227 in network-game for common/Player.cpp
- Timestamp:
- May 10, 2013, 12:55:52 AM (12 years ago)
- Branches:
- master
- Children:
- 7f2cef0
- Parents:
- d211210
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/Player.cpp
rd211210 rdb58227 93 93 double angle = atan2(target.y-pos.y, target.x-pos.x); 94 94 float dist = sqrt(pow(target.x-pos.x, 2) + pow(target.y-pos.y, 2)); 95 POSITION newPos;95 FLOAT_POSITION newPos; 96 96 97 97 //cout << "pos.x: " << pos.x << endl;
Note:
See TracChangeset
for help on using the changeset viewer.