Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 20, 2009, 8:15:25 PM (14 years ago)
Author:
scheusso
Message:

merged steering branch to presentation2 branch

Location:
code/branches/presentation2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2

  • code/branches/presentation2/src/orxonox/weaponsystem/WeaponMode.h

    r5929 r6108  
    109109                { return this->muzzleOffset_; }
    110110
    111             Vector3 getMuzzlePosition() const;
    112             const Quaternion& getMuzzleOrientation() const;
     111            void computeMuzzleParameters();
     112            const Vector3& getMuzzlePosition() const
     113                { return this->muzzlePosition_; }
     114            const Quaternion& getMuzzleOrientation() const
     115                { return this->muzzleOrientation_; }
    113116            Vector3 getMuzzleDirection() const;
    114117
     
    124127            inline unsigned int getMode() const
    125128                { return this->mode_; }
     129
     130            Vector3 getTarget();
    126131
    127132        protected:
     
    152157            Timer reloadTimer_;
    153158            bool bReloading_;
     159
     160            Vector3 muzzlePosition_;
     161            Quaternion muzzleOrientation_;
    154162    };
    155163}
Note: See TracChangeset for help on using the changeset viewer.