
please wait
|
|
float
variables have their values set to 0 instead of the correct values.%1f
fails. Change it to the default %f
and it works just fine.
(float)eye[0]
, not a pointer to the actual value of (float*)&eye[0]
.
%1f
's in my original code for the simple %f
, but it's still bugging out. In this case, it must be throwing an exception or something because the entire function gets thrown out. I use the debugger to go through the steps, but when I go through the sscanf call, the entire function seems to fail, since the focus returns to the GUI. If I want to, I can even access this function again (only to see it fail again, of course).