void TestLogicUpdate() { static CTimer timer; static float angle = 0; XMMATRIX rot = XMMatrixRotationZ( angle ); g_pLight->pos = CVector3::Transform( g_pLight->pos, rot); g_pLight2->pos = CVector3::Transform( g_pLight2->pos, rot); static double formerTime = timer.GetAbsoluteTime(); angle += timer.GetElapsedTime() * 0.0000001f; }