diff options
author | Stijn Buys <ingar@osirion.org> | 2012-04-22 19:48:03 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-04-22 19:48:03 +0000 |
commit | d1931b1ebbe79cbd0f41290acbf9cb6d4c462878 (patch) | |
tree | edc63a618e7493c6d7ed68401f0e83cc9f2894b5 /src/model/tags.cc | |
parent | cef2128c1ed1fc3c1ed86b332da7ea8cfbf7757e (diff) |
Load model weapon tags.
Diffstat (limited to 'src/model/tags.cc')
-rw-r--r-- | src/model/tags.cc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/model/tags.cc b/src/model/tags.cc index 5993f99..75580e5 100644 --- a/src/model/tags.cc +++ b/src/model/tags.cc @@ -149,6 +149,23 @@ Sound::~Sound() { } +/* ---- class Dock ------------------------------------------------- */ + +Weapon::Weapon() : Tag() +{ + weapon_radius = 0.01f; +} + +Weapon::Weapon(const Weapon& other) : Tag(other) +{ + weapon_radius = other.radius(); + weapon_axis.assign(other.axis()); +} + +Weapon::~Weapon() +{ +} + /* ---- class SubModel---------------------------------------------- */ SubModel::SubModel() : Tag() |