SUPPRESS_EMPTY_FILE_WARNING
#if USE_BOX2D

#include <cstdio>
#include <cstdarg>
#include <cstring>

//================================================================//
// MOAIBox2DDebugDraw
//================================================================//

//----------------------------------------------------------------//
void MOAIBox2DDebugDraw::BindVertexFormat ( USDrawBuffer& drawBuffer ) {

	drawBuffer.SetVertexPreset ( USVertexFormatMgr::VTX_FMT_XYC );
}
示例#2
0
//----------------------------------------------------------------//
void USGLQuad::BindVertexFormat ( USDrawBuffer& drawBuffer ) {
	
	drawBuffer.SetVertexPreset ( USVertexFormatMgr::VTX_FMT_XYUVC );
	drawBuffer.SetPrimType ( GL_TRIANGLES );
}