Member Avatar

Does anyone see an issue with the following IF statement... I sure can't yet it doesn't work! VARIABLES: $CHECK = A returned value from the database either "y" or "n", the value is returned successfully so I know that is not the issue here. There is no error message returned, the IF statement simply refuses to work. [CODE] $check = mysql_fetch_row($resultX); if($check == "y"){ }elseif($check == "n"){ echo "<META HTTP-EQUIV=\"Refresh\" CONTENT=\"0;URL=main.php\">"; } [/CODE]

Member Avatar
0
5
Member Avatar

Hello, [I]Before you get scared away - my issue does not particular seem to relate to Quaternions or Vectors. More generally, it appears to be something compiler or C++ standard related, as my return call from the function is acting strange. You can eventually start reading the [U]concluding issue at the bottom[/U]. [B]Thank you so much![/B][/I] So I've got this class with Quaternion mathematics. This particular function (operator *) is to rotate a Vector3 based on the current Quaternion. Here's the code I want to discuss. Vector3 Class [CODE] class Vector3 { float y, z, x; ... }; Vector3 Vector3::crossProduct(const …

Member Avatar
0
22

The End.