mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 04:41:25 +00:00
Remove debug printfs
This commit is contained in:
parent
e18849fa42
commit
f25fff1e3d
1 changed files with 0 additions and 2 deletions
2
fold.c
2
fold.c
|
@ -494,11 +494,9 @@ static GMQCC_INLINE ast_expression *fold_op_div(fold_t *fold, ast_value *a, ast_
|
||||||
} else if (isvector(a)) {
|
} else if (isvector(a)) {
|
||||||
if (fold_can_2(a, b)) {
|
if (fold_can_2(a, b)) {
|
||||||
if (fold_can_div(b)) {
|
if (fold_can_div(b)) {
|
||||||
printf("hit wrong logic\n");
|
|
||||||
return fold_constgen_vector(fold, vec3_mulvf(fold_immvalue_vector(a), 1.0f / fold_immvalue_float(b)));
|
return fold_constgen_vector(fold, vec3_mulvf(fold_immvalue_vector(a), 1.0f / fold_immvalue_float(b)));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
printf("hit logic\n");
|
|
||||||
return (ast_expression*)fold->imm_vector[2]; /* inf */
|
return (ast_expression*)fold->imm_vector[2]; /* inf */
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue