]> Dogcows Code - chaz/yoink/blob - src/moof/drawable.hh
bugfix: win32 packaging script temp directories
[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 /**
16 * \file drawable.hh
17 * Representation for an object that can be drawn to the screen.
18 */
19
20 #include <moof/math.hh>
21
22
23 namespace moof {
24
25
26 /**
27 * Interface for anything that can be drawn.
28 */
29 class drawable
30 {
31 public:
32 virtual ~drawable() {}
33
34 virtual void draw(scalar alpha) const = 0;
35 };
36
37
38 } // namespace moof
39
40 #endif // _MOOF_DRAWABLE_HH_
41
This page took 0.031527 seconds and 4 git commands to generate.