GF_PI 32 modules/audio_filter/audio_filter.c #define PI GF_PI GF_PI 88 src/bifs/predictive_mffield.c tang[i]= gf_tan(gf_mulfix(GF_PI * 4, v)); GF_PI 114 src/bifs/predictive_mffield.c tang[i] = gf_tan(gf_mulfix(GF_PI / 4, v)); GF_PI 225 src/bifs/quantize.c Fixed v = gf_mulfix(gf_divfix(INT2FIX(4), GF_PI) , gf_atan2(m_ft[orientation], m_ft[(orientation+i+1) % len])); GF_PI 303 src/bifs/unquantize.c tang[i] = gf_tan(gf_mulfix(GF_PI/4, m_ft[i]) ); GF_PI 3229 src/compositor/compositor.c param->val = gf_divfix(180*compositor->rotation, GF_PI); GF_PI 3232 src/compositor/compositor.c compositor->rotation = gf_mulfix(GF_PI, param->val/180); GF_PI 1450 src/compositor/compositor_2d.c gf_mx2d_add_rotation(&compositor->traverse_state->transform, 0, 0, -GF_PI/2); GF_PI 1456 src/compositor/compositor_2d.c gf_mx2d_add_rotation(&compositor->traverse_state->transform, 0, 0, GF_PI/2); GF_PI 1314 src/compositor/hardcoded_protos.c sphere_angles.min_phi = -GF_PI2 + GF_PI * vrinfo.srd_y / vrinfo.srd_max_y; GF_PI 1315 src/compositor/hardcoded_protos.c sphere_angles.max_phi = -GF_PI2 + GF_PI * (vrinfo.srd_h + vrinfo.srd_y) / vrinfo.srd_max_y; GF_PI 1373 src/compositor/hardcoded_protos.c theta_angle-=GF_PI; GF_PI 1383 src/compositor/hardcoded_protos.c phi_angle-=GF_PI; GF_PI 1384 src/compositor/hardcoded_protos.c if (phi_angle<-GF_PI2) phi_angle += GF_PI; GF_PI 483 src/compositor/mesh.c Fixed angle = GF_PI + aincr; GF_PI 598 src/compositor/mesh.c angle = (i * GF_PI / (num_steps-1) ) - GF_PI2; GF_PI 1380 src/compositor/mesh.c if (creaseAngle>GF_PI) cosCrease = -FIX_ONE; GF_PI 1656 src/compositor/mesh.c if (eg->creaseAngle>GF_PI) cosCrease = -FIX_ONE; GF_PI 2246 src/compositor/mesh.c if (creaseAngle>GF_PI) cosCrease = -FIX_ONE; GF_PI 173 src/compositor/mpeg4_background.c angle = (i * GF_PI / DOME_STEP_V); GF_PI 181 src/compositor/mpeg4_background.c if (next_angle>GF_PI) next_angle=GF_PI; GF_PI 212 src/compositor/mpeg4_background.c Fixed lon = 2 * GF_PI * j / step_div_h; GF_PI 163 src/compositor/mpeg4_geometry_3d.c if (angle_start < -GF_PI) angle_start += GF_2PI; GF_PI 164 src/compositor/mpeg4_geometry_3d.c if (angle_start > GF_PI) angle_start -= GF_2PI; GF_PI 165 src/compositor/mpeg4_geometry_3d.c if (angle_end < -GF_PI) angle_end += GF_2PI; GF_PI 166 src/compositor/mpeg4_geometry_3d.c if (angle_end > GF_PI) angle_end -= GF_2PI; GF_PI 170 src/compositor/mpeg4_geometry_3d.c max_tx = FIX_ONE - (angle_start + GF_PI) / GF_2PI; GF_PI 171 src/compositor/mpeg4_geometry_3d.c min_tx = FIX_ONE - (angle_end + GF_PI) / GF_2PI; GF_PI 180 src/compositor/mpeg4_geometry_3d.c min_tx = angle_start / GF_PI; GF_PI 181 src/compositor/mpeg4_geometry_3d.c max_tx = angle_end / GF_PI; GF_PI 183 src/compositor/mpeg4_geometry_3d.c max_tx = angle_start / GF_PI; GF_PI 184 src/compositor/mpeg4_geometry_3d.c min_tx = angle_end / GF_PI; GF_PI 483 src/compositor/mpeg4_geometry_3d.c *max = GF_PI; GF_PI 325 src/compositor/mpeg4_sensors.c Fixed diff = (ev->key.flags & GF_KEY_MOD_SHIFT) ? GF_PI/8 : GF_PI/64; GF_PI 1031 src/compositor/mpeg4_sensors.c reva = ABS(GF_PI - acute); GF_PI 1116 src/compositor/mpeg4_sensors.c Fixed diff = (ev->key.flags & GF_KEY_MOD_SHIFT) ? GF_PI/8 : GF_PI/64; GF_PI 1253 src/compositor/mpeg4_sensors.c if (gf_vec_dot(st->grab_vec, vec) < 0) r.q += GF_PI / 2; GF_PI 1277 src/compositor/mpeg4_sensors.c Fixed diff = GF_PI/64; GF_PI 214 src/compositor/navigate.c if (cam->fieldOfView>GF_PI) cam->fieldOfView=GF_PI; GF_PI 429 src/compositor/navigate.c view_exam_x(compositor, cam, -gf_mulfix(GF_PI, dx)); GF_PI 431 src/compositor/navigate.c view_exam_y(compositor, cam, gf_mulfix(GF_PI, dy)); GF_PI 439 src/compositor/navigate.c view_orbit_x(compositor, cam, -gf_mulfix(GF_PI, dx)); GF_PI 440 src/compositor/navigate.c view_orbit_y(compositor, cam, gf_mulfix(GF_PI, dy)); GF_PI 696 src/compositor/navigate.c key_rot = GF_PI/100; GF_PI 741 src/compositor/navigate.c visual->compositor->rotation += gf_asin( GF_PI / 10); GF_PI 743 src/compositor/navigate.c visual->compositor->rotation -= gf_asin( GF_PI / 10); GF_PI 767 src/compositor/navigate.c Fixed sin = gf_mulfix(GF_PI, dy) / visual->height; GF_PI 477 src/compositor/svg_geometry.c if (sweep<0) sweep += 2*GF_PI; GF_PI 68 src/compositor/svg_media.c *angle = GF_PI; GF_PI 71 src/compositor/svg_media.c *angle = -GF_PI/2; GF_PI 74 src/compositor/svg_media.c *angle = GF_PI/2; GF_PI 677 src/compositor/svg_text.c span->rot[i] = gf_mulfix(GF_PI/180, rc->value); GF_PI 720 src/compositor/svg_text.c span->rot[i] = gf_mulfix(GF_PI/180, rc->value); GF_PI 331 src/compositor/visual_manager_3d.c Fixed fov = GF_PI/4; GF_PI 1894 src/compositor/visual_manager_3d_gl.c glLightx(iLight, GL_SPOT_CUTOFF, gf_divfix(180*li->cutOffAngle, GF_PI) ); GF_PI 1929 src/compositor/visual_manager_3d_gl.c glLightf(iLight, GL_SPOT_CUTOFF, 180*cutOffAngle/FIX2FLT(GF_PI)); GF_PI 2299 src/laser/lsr_dec.c p->angle = gf_muldiv(p->angle, GF_PI, INT2FIX(180) ); GF_PI 2396 src/laser/lsr_dec.c p->angle = gf_muldiv(p->angle, GF_PI, INT2FIX(180) ); GF_PI 1804 src/laser/lsr_enc.c angle = gf_muldiv(angle, INT2FIX(180), GF_PI); GF_PI 1880 src/laser/lsr_enc.c Fixed angle = gf_muldiv(p->angle, INT2FIX(180), GF_PI); GF_PI 773 src/scene_manager/swf_parse.c Fixed h_pi = GF_PI / 2; GF_PI 776 src/scene_manager/swf_parse.c else if (angle - FIX_EPSILON <= -FIX_ONE) angle = GF_PI; GF_PI 577 src/scenegraph/smil_anim.c gf_mx2d_add_rotation(m, m->m[2], m->m[5], GF_PI); GF_PI 819 src/scenegraph/svg_attributes.c (*f) = gf_mulfix(FLT2FIX(_val), GF_PI); GF_PI 4013 src/scenegraph/svg_attributes.c angle = gf_divfix(180*angle, GF_PI); GF_PI 4016 src/scenegraph/svg_attributes.c sprintf(attValue, "translate(%g,%g) rotate(%g)", FIX2FLT(matrix->m[2]), FIX2FLT(matrix->m[5]), FIX2FLT(gf_divfix(angle*180, GF_PI) ) ); GF_PI 4018 src/scenegraph/svg_attributes.c sprintf(attValue, "rotate(%g)", FIX2FLT(gf_divfix(angle*180, GF_PI) ) ); GF_PI 4021 src/scenegraph/svg_attributes.c sprintf(attValue, "translate(%g,%g) scale(%g,%g) rotate(%g)", FIX2FLT(matrix->m[2]), FIX2FLT(matrix->m[5]), FIX2FLT(sx), FIX2FLT(sy), FIX2FLT(gf_divfix(angle*180, GF_PI) ) ); GF_PI 4023 src/scenegraph/svg_attributes.c sprintf(attValue, "scale(%g,%g) rotate(%g)", FIX2FLT(sx), FIX2FLT(sy), FIX2FLT(gf_divfix(angle*180, GF_PI) ) ); GF_PI 4029 src/scenegraph/svg_attributes.c sprintf(attValue, "translate(%g,%g) rotate(%g)", FIX2FLT(matrix->m[2]), FIX2FLT(matrix->m[5]), FIX2FLT(gf_divfix(a*180, GF_PI) ) ); GF_PI 4031 src/scenegraph/svg_attributes.c sprintf(attValue, "rotate(%g)", FIX2FLT(gf_divfix(a*180, GF_PI) ) ); GF_PI 4604 src/scenegraph/svg_attributes.c sprintf(tmp, "%g", FIX2FLT( 180 * gf_divfix(*f, GF_PI) )); GF_PI 4615 src/scenegraph/svg_attributes.c sprintf(tmp, "%g %g %g", FIX2FLT( 180 * gf_divfix(pt->angle, GF_PI) ), FIX2FLT(pt->x), FIX2FLT(pt->y) ); GF_PI 4617 src/scenegraph/svg_attributes.c sprintf(tmp, "%g", FIX2FLT(gf_divfix(180 * pt->angle, GF_PI) )); GF_PI 2243 src/scenegraph/svg_smjs.c gf_mx2d_add_rotation(&mx2, 0, 0, gf_mulfix(FLT2FIX(angle/180), GF_PI)); GF_PI 2462 src/scenegraph/vrml_smjs.c SFRotation_Create(c, pNew, r.x, r.y, r.z, r.q-GF_PI); GF_PI 1377 src/terminal/scene.c ((M_Viewpoint *)n2)->fieldOfView = GF_PI/2; GF_PI 689 src/utils/math.c if (delta > GF_PI) delta -= GF_2PI; GF_PI 692 src/utils/math.c while (delta > GF_PI) delta -= GF_2PI; GF_PI 424 src/utils/path2d.c if (sweep>0) sweep -= 2*GF_PI; GF_PI 426 src/utils/path2d.c if (sweep<0) sweep += 2*GF_PI; GF_PI 474 src/utils/path2d.c phi = gf_mulfix(x_axis_rotation/180, GF_PI); GF_PI 29 src/utils/path2d_stroker.c #define FT_SMALL_CONIC_THRESHOLD ( GF_PI / 6 ) GF_PI 30 src/utils/path2d_stroker.c #define FT_SMALL_CUBIC_THRESHOLD ( GF_PI / 6 ) GF_PI 277 src/utils/path2d_stroker.c #define FT_ARC_CUBIC_ANGLE ( GF_PI / 2 ) GF_PI 451 src/utils/path2d_stroker.c #define FT_SIDE_TO_ROTATE( s ) ( GF_PI2 - (s) * GF_PI ) GF_PI 481 src/utils/path2d_stroker.c if ( total == GF_PI ) total = -rotate * 2; GF_PI 577 src/utils/path2d_stroker.c if ( theta == GF_PI ) GF_PI 614 src/utils/path2d_stroker.c sin_theta = gf_sin(gf_angle_diff( stroker->angle_out - GF_PI, stroker->angle_in) / 2 ); GF_PI 645 src/utils/path2d_stroker.c if ( theta == GF_PI ) { GF_PI 1141 src/utils/path2d_stroker.c stroker->subpath_angle + GF_PI, 0 );