From 5c96b74c76b881b1533432a75d1a8cc42ecc5bda Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 23 Jul 2008 19:51:06 +0000 Subject: fragment renderer --- src/model/engine.h | 40 ++++++++++++++++++++++++++++------------ 1 file changed, 28 insertions(+), 12 deletions(-) (limited to 'src/model/engine.h') 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; }; -- cgit v1.2.3