filth
Joined: 26 May 2008 Posts: 2
Digg It |
Posted: Thu Jul 17, 2008 4:43 am Post subject: WiiYourSelf speed problems |
|
|
Hi,
i use the following piece of code, to find out, how many dots are seen, the problem is, that as soon as there are several dots on the screen, it slows down my app as hell:
| Code: |
int LightsFound=0;
for(int i=0;i<4;i++)
{
while(myWiimote.RefreshState() == NO_CHANGE) Sleep(0);
if(WiiMote.IR.Dot[i].bFound)
LightsFound++;
}
|
anyone a clue, why this is happening? |
|