예제 #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);
 }