Beispiel #1
0
Gosu::Macro::Macro(DrawOpQueue& queue, int width, int height)
: pimpl(new Impl)
{
    pimpl->width = width;
    pimpl->height = height;
    queue.compileTo(pimpl->vertexArrays);
}
Beispiel #2
0
 Macro(Graphics& graphics, DrawOpQueue& queue, int width, int height)
 : graphics(graphics), w(width), h(height)
 {
     queue.compileTo(vertexArrays);
 }