diff options
author | Stijn Buys <ingar@osirion.org> | 2008-07-23 19:51:06 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-07-23 19:51:06 +0000 |
commit | 5c96b74c76b881b1533432a75d1a8cc42ecc5bda (patch) | |
tree | a1500e0149ba03d017dd5fdb169a6538a7a06a61 /src/model/engine.h | |
parent | 1cf82068a2adff7c401fe0aba73466f045e460d3 (diff) |
fragment renderer
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; }; |