Changeset 10596 for code/branches/clangenb/src
- Timestamp:
- Sep 27, 2015, 12:32:52 PM (9 years ago)
- Location:
- code/branches/clangenb/src/modules/weapons/weaponmodes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/clangenb/src/modules/weapons/weaponmodes/EnergyDrink.cc
r10494 r10596 108 108 model->setScale(5); 109 109 110 110 this->computeMuzzleParameters(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getAimPosition()); 111 111 projectile->setOrientation(this->getMuzzleOrientation()); 112 112 projectile->setPosition(this->getMuzzlePosition()); -
code/branches/clangenb/src/modules/weapons/weaponmodes/FusionFire.cc
r10494 r10596 67 67 { 68 68 BillboardProjectile* projectile = new BillboardProjectile(this->getContext()); 69 70 69 70 this->computeMuzzleParameters(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getAimPosition()); 71 71 projectile->setOrientation(this->getMuzzleOrientation()); 72 72 projectile->setPosition(this->getMuzzlePosition()); -
code/branches/clangenb/src/modules/weapons/weaponmodes/LaserFire.cc
r10494 r10596 66 66 ParticleProjectile* projectile = new ParticleProjectile(this->getContext()); 67 67 68 68 this->computeMuzzleParameters(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getAimPosition()); 69 69 projectile->setOrientation(this->getMuzzleOrientation()); 70 70 projectile->setPosition(this->getMuzzlePosition());
Note: See TracChangeset
for help on using the changeset viewer.