diff options
Diffstat (limited to 'src/model/engine.h')
-rw-r--r-- | src/model/engine.h | 40 |
1 files changed, 28 insertions, 12 deletions
diff --git a/src/model/engine.h b/src/model/engine.h index 569eb4e..c3e6064 100644 --- a/src/model/engine.h +++ b/src/model/engine.h @@ -10,32 +10,48 @@ #include "math/vector3f.h" #include "math/color.h" -namespace model { +namespace model +{ /// a spacecraft engine class Engine { public: Engine(); - + Engine(math::Vector3f const & location); ~Engine(); - inline math::Vector3f const & location() const { return engine_location; } - - inline math::Color const & color() const { return engine_color; } - - inline float radius() const { return engine_radius; } - - inline unsigned int flare() const { return engine_flare; } - - inline unsigned int texture() const { return render_texture; } + inline math::Vector3f const & location() const + { + return engine_location; + } + + inline math::Color const & color() const + { + return engine_color; + } + + inline float radius() const + { + return engine_radius; + } + + inline unsigned int flare() const + { + return engine_flare; + } + + inline unsigned int texture() const + { + return render_texture; + } math::Vector3f engine_location; float engine_radius; math::Color engine_color; unsigned int engine_flare; - + unsigned int render_texture; }; |