#include <memory>
#include <string>
#include <vector>
#include <stdint.h>
#include <obstack.h>
#include "math/rectf.hpp"
#include "math/vector.hpp"
#include "video/color.hpp"
#include "video/drawing_request.hpp"
#include "video/font.hpp"
#include "video/font_ptr.hpp"
#include "video/texture.hpp"
Go to the source code of this file.
Classes | |
class | DrawingContext |
This class provides functions for drawing things on screen. More... | |
class | DrawingContext::Transform |
Functions | |
int | next_po2 (int val) |
int next_po2 | ( | int | val | ) | [inline] |
Definition at line 39 of file drawing_context.hpp.
Referenced by GLLightmap::GLLightmap().
00040 { 00041 int result = 1; 00042 while(result < val) 00043 result *= 2; 00044 00045 return result; 00046 }