Ejemplo n.º 1
0
//----------------------------------------------------------------//
void MOAIBox2DDebugDraw::WriteVtx ( MOAIGfxDevice& gfxDevice, float x, float y ) {

	USVec2D vtx;
	vtx.mX = x * this->mScale;
	vtx.mY = y * this->mScale;
	gfxDevice.WriteVtx ( vtx );
	gfxDevice.WritePenColor4b ();
}
Ejemplo n.º 2
0
//----------------------------------------------------------------//
void MOAIBox2DDebugDraw::WriteVtx ( MOAIGfxDevice& gfxDevice, float x, float y ) {

    ZLVec3D vtx;
    vtx.mX = x * this->mScale;
    vtx.mY = y * this->mScale;
    vtx.mZ = 0.0f;
    gfxDevice.WriteVtx ( vtx );
    gfxDevice.WriteFinalColor4b ();
}