//----------------------------------------------------------------// 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 (); }
//----------------------------------------------------------------// 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 (); }