Search found 2 matches

by Yosepp
Mon Feb 02, 2004 2:44 pm
Forum: Beginners Help
Topic: 2 errors when compileing
Replies: 4
Views: 460

I have found a way to help the original poster:
change line
nRotY = (f32)fmod(nRotY, 360);
to
nRotY = (f32)fmod(nRotY, 360.0f);

and line
f *= (f32)pow(10, exp);
to
f *= (f32)pow(10.0f, exp);

Hope it helps!
This is because if you don't put the f in the end, the compiler will think it is a double ...
by Yosepp
Mon Feb 02, 2004 2:37 pm
Forum: Beginners Help
Topic: HWND in Irrlicht
Replies: 8
Views: 722

HWND in Irrlicht

I was wondering how could one get the HWND from Irrlicht, i would like to use it in DirectInput. Thanks!