]> Dogcows Code - chaz/yoink/blob - src/Moof/Drawable.hh
more explicit constructors
[chaz/yoink] / src / Moof / Drawable.hh
1
2 /*] Copyright (c) 2009-2010, Charles McGarvey [**************************
3 **] All rights reserved.
4 *
5 * vi:ts=4 sw=4 tw=75
6 *
7 * Distributable under the terms and conditions of the 2-clause BSD license;
8 * see the file COPYING for a complete text of the license.
9 *
10 **************************************************************************/
11
12 #ifndef _MOOF_DRAWABLE_HH_
13 #define _MOOF_DRAWABLE_HH_
14
15 #include <Moof/Math.hh>
16
17
18 namespace Mf {
19
20
21 /**
22 * Interface for anything that can be drawn.
23 */
24
25 class Drawable
26 {
27 public:
28 virtual ~Drawable() {}
29
30 virtual void draw(Scalar alpha) const = 0;
31 };
32
33
34 } // namespace Mf
35
36 #endif // _MOOF_DRAWABLE_HH_
37
This page took 0.028782 seconds and 4 git commands to generate.