more mathlib usage

This commit is contained in:
Bill Currie 2001-11-06 20:36:20 +00:00
parent 93366d7c6c
commit 469fd1b023

View file

@ -387,9 +387,8 @@ PR_ExecuteProgram (progs_t * pr, func_t fnum)
OPC.integer_var = OPA.float_var == OPB.float_var; OPC.integer_var = OPA.float_var == OPB.float_var;
break; break;
case OP_EQ_V: case OP_EQ_V:
OPC.integer_var = (OPA.vector_var[0] == OPB.vector_var[0]) OPC.integer_var = VectorCompare (OPA.vector_var,
&& (OPA.vector_var[1] == OPB.vector_var[1]) OPB.vector_var);
&& (OPA.vector_var[2] == OPB.vector_var[2]);
break; break;
case OP_EQ_E: case OP_EQ_E:
OPC.integer_var = OPA.integer_var == OPB.integer_var; OPC.integer_var = OPA.integer_var == OPB.integer_var;
@ -401,9 +400,8 @@ PR_ExecuteProgram (progs_t * pr, func_t fnum)
OPC.integer_var = OPA.float_var != OPB.float_var; OPC.integer_var = OPA.float_var != OPB.float_var;
break; break;
case OP_NE_V: case OP_NE_V:
OPC.integer_var = (OPA.vector_var[0] != OPB.vector_var[0]) OPC.integer_var = !VectorCompare (OPA.vector_var,
|| (OPA.vector_var[1] != OPB.vector_var[1]) OPB.vector_var);
|| (OPA.vector_var[2] != OPB.vector_var[2]);
break; break;
case OP_LE_S: case OP_LE_S:
case OP_GE_S: case OP_GE_S: