Changeset 10494 for code/branches/clangenb/src
- Timestamp:
- May 27, 2015, 9:18:06 AM (10 years ago)
- Location:
- code/branches/clangenb/src/modules/weapons
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/clangenb/src/modules/weapons/projectiles/Rocket.cc
r10216 r10494 74 74 // Create rocket model 75 75 Model* model = new Model(this->getContext()); 76 model->setMeshSource(" rocket.mesh");76 model->setMeshSource("can.mesh"); 77 77 model->scale(0.7f); 78 78 this->attach(model); -
code/branches/clangenb/src/modules/weapons/weaponmodes/EnergyDrink.cc
r10296 r10494 108 108 model->setScale(5); 109 109 110 this->computeMuzzleParameters(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getAimPosition()); 110 111 projectile->setOrientation(this->getMuzzleOrientation()); 111 112 projectile->setPosition(this->getMuzzlePosition()); -
code/branches/clangenb/src/modules/weapons/weaponmodes/FusionFire.cc
r10296 r10494 67 67 { 68 68 BillboardProjectile* projectile = new BillboardProjectile(this->getContext()); 69 69 70 this->computeMuzzleParameters(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getAimPosition()); 70 71 projectile->setOrientation(this->getMuzzleOrientation()); 71 72 projectile->setPosition(this->getMuzzlePosition()); -
code/branches/clangenb/src/modules/weapons/weaponmodes/LaserFire.cc
r10296 r10494 66 66 ParticleProjectile* projectile = new ParticleProjectile(this->getContext()); 67 67 68 this->computeMuzzleParameters(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getAimPosition()); 68 69 projectile->setOrientation(this->getMuzzleOrientation()); 69 70 projectile->setPosition(this->getMuzzlePosition());
Note: See TracChangeset
for help on using the changeset viewer.