You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

43 regels
781 B

  1. //
  2. // Lol Engine
  3. //
  4. // Copyright: (c) 2010-2013 Sam Hocevar <sam@hocevar.net>
  5. // This program is free software; you can redistribute it and/or
  6. // modify it under the terms of the Do What The Fuck You Want To
  7. // Public License, Version 2, as published by Sam Hocevar. See
  8. // http://www.wtfpl.net/ for more details.
  9. //
  10. #pragma once
  11. //
  12. // The Gradient class
  13. // ------------------
  14. //
  15. #include "worldentity.h"
  16. namespace lol
  17. {
  18. class GradientData;
  19. class Gradient : public WorldEntity
  20. {
  21. public:
  22. Gradient(vec3 aa, vec3 bb);
  23. virtual ~Gradient();
  24. char const *GetName() { return "<gradient>"; }
  25. protected:
  26. virtual void TickGame(float seconds);
  27. virtual void TickDraw(float seconds, Scene &scene);
  28. private:
  29. GradientData *data;
  30. };
  31. } /* namespace lol */