organize wiiuse source a little

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3743 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman
2009-07-11 08:53:44 +00:00
parent 419c6a0927
commit ce52073cb8
3 changed files with 177 additions and 164 deletions

View File

@ -663,7 +663,7 @@ static float ir_distance(struct ir_dot_t* dot) {
xd = dot[i2].x - dot[i1].x;
yd = dot[i2].y - dot[i1].y;
return sqrt(xd*xd + yd*yd);
return sqrt(float(xd*xd + yd*yd));
}