참조 소스(충돌) 및 fps
if(abs(box2.centerX - box1.centerX) < box2.w/2 + box1.w/2 && abs(box2.centerY - box1.centerY) < box2.h/2 + box1.h/2) { TextOut(hdc, 10, 10, "접촉", 4); } void Framework::UpdateFPS() { static DWORD FrameCnt = 0; static float TimeElapsed = 0; static DWORD lastTime = timeGetTime(); DWORD currTime = timeGetTime(); float timeDelta = (currTime - lastTime)*0.001f; FrameCnt++; TimeElapsed += ti..