示例#1
0
文件: Macro.cpp 项目: JTunnessen/gosu
Gosu::Macro::Macro(DrawOpQueue& queue, int width, int height)
: pimpl(new Impl)
{
    pimpl->width = width;
    pimpl->height = height;
    queue.compileTo(pimpl->vertexArrays);
}
示例#2
0
文件: Macro.hpp 项目: Heithvaldr/gosu
 Macro(Graphics& graphics, DrawOpQueue& queue, int width, int height)
 : graphics(graphics), w(width), h(height)
 {
     queue.compileTo(vertexArrays);
 }