Changeset 10727 for code/trunk/src/modules/weapons/projectiles
- Timestamp:
- Oct 31, 2015, 11:06:37 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/weapons/projectiles/SplitGunProjectile.cc
r10629 r10727 134 134 { 135 135 // Every child projectile should fly uniform in different directions -> Rotate the velocityOffset in every iteration 136 velocityOffset = Quaternion(Degree(360 /numberOfChilds_), velocityInitial.normalisedCopy()) * velocityOffset;136 velocityOffset = Quaternion(Degree(360.0f/numberOfChilds_), velocityInitial.normalisedCopy()) * velocityOffset; 137 137 velocityOffset.normalise(); 138 138
Note: See TracChangeset
for help on using the changeset viewer.