float vc =dd.x;
then i debug to check what the value of vc is
dd.x ----> 65503.000
vc ----> -1.0737418e+008
dd is an array of D3DXVECTOR4
Edited by lomateron, 25 June 2012 - 11:44 PM.
Jump to content
Posted 26 June 2012 - 12:01 AM
Edited by szecs, 26 June 2012 - 12:03 AM.
Posted 26 June 2012 - 12:06 AM
Posted 26 June 2012 - 12:08 AM
Are you stepping the code through with breakpoints? If the breakpoint is on the line float vc =dd.x; then the value you see for vc will be the value before the assignment (at leas in MS Visual C++).
Place a breakpoint after that line and see the values again.
EDIT: maybe in debug build, you should see vc = 0. so if you are in debug build, my post is off, I think.
Posted 26 June 2012 - 12:09 AM