/dports/devel/libslang2/slang-2.3.2/src/curses/ |
H A D | tclock.c | 109 double sangle, sradius, hours; in main() local 128 sangle=(i+1)*(2.0*PI)/12.0; in main() 130 sdx=2.0*sradius*sin(sangle); in main() 131 sdy=sradius*cos(sangle); in main() 158 sangle=(t->tm_sec%60)*(2.0*PI)/60.0; in main() 159 sdx=2.0*sradius*sin(sangle); in main() 160 sdy=sradius*cos(sangle); in main()
|
/dports/japanese/libslang/slang-1.4.5jp2/src/curses/ |
H A D | tclock.c | 110 double sangle, sradius, hours; in main() local 129 sangle=(i+1)*(2.0*PI)/12.0; in main() 131 sdx=2.0*sradius*sin(sangle); in main() 132 sdy=sradius*cos(sangle); in main() 159 sangle=(t->tm_sec%60)*(2.0*PI)/60.0; in main() 160 sdx=2.0*sradius*sin(sangle); in main() 161 sdy=sradius*cos(sangle); in main()
|
/dports/science/plumed/plumed2-2.7.2/src/multicolvar/ |
H A D | InPlaneDistances.cpp | 137 double sangle=sin(angle), cangle=cos(angle); in compute() local 138 double dd=dir.modulo(), invdd=1.0/dd, val=dd*sangle; in compute() 140 addAtomDerivatives( 1, 0, dd*cangle*ddik + sangle*invdd*dir, myatoms ); in compute() 141 addAtomDerivatives( 1, 1, -dd*cangle*(ddik+ddij) - sangle*invdd*dir, myatoms ); in compute() 143 …myatoms.addBoxDerivatives( 1, -dd*cangle*(Tensor(normal,ddij)+Tensor(dir,ddik)) - sangle*invdd*Ten… in compute()
|
/dports/devel/ncurses/ncurses-6.3/test/ |
H A D | tclock.c | 134 double sangle, sradius, hours; in main() local 203 sangle = (i + 1) * (2.0 * PI) / 12.0; in main() 204 sdx = A2X(sangle, sradius); in main() 205 sdy = A2Y(sangle, sradius); in main() 236 sangle = ((t->tm_sec + fraction) * (2.0 * PI) / 60.0); in main() 237 sdx = A2X(sangle, sradius); in main() 238 sdy = A2Y(sangle, sradius); in main()
|
/dports/astro/xmoontool/xmoontool-3.0.3/ |
H A D | nova.c | 46 double phase2(jd, phase, mage, r_m, mangle, r_s, sangle) in phase2() argument 53 double *sangle; /* Sun's angular diameter in degrees */ 65 *sangle = (SANGLE / *r_s) / 3600;
|
/dports/science/chrono/chrono-7.0.1/src/chrono/fea/ |
H A D | ChBeamSectionShape.cpp | 62 double sangle = CH_C_2PI * ((double)is / (double)resolution); in UpdateProfile() local 63 points[is] = ChVector<>(0, cos(sangle) * radius, sin(sangle) * radius); in UpdateProfile() 64 normals[is] = ChVector<>(0, cos(sangle), sin(sangle)); in UpdateProfile()
|
/dports/games/retroarch/RetroArch-1.9.7/cores/libretro-ffmpeg/gl_shaders/ |
H A D | fft_heightmap.glsl.vert.h | 26 float sangle = sin(angle); 32 vec3 up = vec3(-sangle, cangle, 0.0); 35 float base_x = 80.0 * sangle;
|
/dports/lang/python-legacy/Python-2.7.18/Demo/curses/ |
H A D | tclock.py | 90 sangle = (i + 1) * 2.0 * pi / 12.0 91 sdx, sdy = A2XY(sangle, sradius) 116 sangle = t[5] * 2 * pi / 60.0 117 sdx, sdy = A2XY(sangle, sradius)
|
/dports/lang/python27/Python-2.7.18/Demo/curses/ |
H A D | tclock.py | 90 sangle = (i + 1) * 2.0 * pi / 12.0 91 sdx, sdy = A2XY(sangle, sradius) 116 sangle = t[5] * 2 * pi / 60.0 117 sdx, sdy = A2XY(sangle, sradius)
|
/dports/emulators/mess/mame-mame0226/3rdparty/SDL2/src/render/software/ |
H A D | SDL_rotate.h | 26 …tery, int smooth, int flipx, int flipy, int dstwidth, int dstheight, double cangle, double sangle); 27 …nt width, int height, double angle, int *dstwidth, int *dstheight, double *cangle, double *sangle);
|
H A D | SDL_render_sw.c | 604 double cangle, sangle, px, py, p1x, p1y, p2x, p2y, p3x, p3y, p4x, p4y; in SW_RenderCopyEx() local 680 …fx_rotozoomSurfaceSizeTrig(tmp_rect.w, tmp_rect.h, angle, &dstwidth, &dstheight, &cangle, &sangle); in SW_RenderCopyEx() 687 sangle = -sangle; in SW_RenderCopyEx() 692 p1x = px * cangle - py * sangle + abscenterx; in SW_RenderCopyEx() 693 p1y = px * sangle + py * cangle + abscentery; in SW_RenderCopyEx() 698 p2x = px * cangle - py * sangle + abscenterx; in SW_RenderCopyEx() 699 p2y = px * sangle + py * cangle + abscentery; in SW_RenderCopyEx() 704 p3x = px * cangle - py * sangle + abscenterx; in SW_RenderCopyEx() 705 p3y = px * sangle + py * cangle + abscentery; in SW_RenderCopyEx() 710 p4x = px * cangle - py * sangle + abscenterx; in SW_RenderCopyEx() [all …]
|
H A D | SDL_rotate.c | 111 double *cangle, double *sangle) in SDLgfx_rotozoomSurfaceSizeTrig() argument 122 *sangle = angle90 == 1 ? -1 : 1; /* reversed because our rotations are clockwise */ in SDLgfx_rotozoomSurfaceSizeTrig() 127 *sangle = 0; in SDLgfx_rotozoomSurfaceSizeTrig() 137 *sangle = SDL_sin(radangle); in SDLgfx_rotozoomSurfaceSizeTrig() 143 sx = *sangle * x; in SDLgfx_rotozoomSurfaceSizeTrig() 144 sy = *sangle * y; in SDLgfx_rotozoomSurfaceSizeTrig() 414 …ntery, int smooth, int flipx, int flipy, int dstwidth, int dstheight, double cangle, double sangle) in SDLgfx_rotateSurface() argument 460 sangleinv = sangle*65536.0; in SDLgfx_rotateSurface()
|
/dports/emulators/mame/mame-mame0226/3rdparty/SDL2/src/render/software/ |
H A D | SDL_rotate.h | 26 …tery, int smooth, int flipx, int flipy, int dstwidth, int dstheight, double cangle, double sangle); 27 …nt width, int height, double angle, int *dstwidth, int *dstheight, double *cangle, double *sangle);
|
H A D | SDL_render_sw.c | 604 double cangle, sangle, px, py, p1x, p1y, p2x, p2y, p3x, p3y, p4x, p4y; in SW_RenderCopyEx() local 680 …fx_rotozoomSurfaceSizeTrig(tmp_rect.w, tmp_rect.h, angle, &dstwidth, &dstheight, &cangle, &sangle); in SW_RenderCopyEx() 687 sangle = -sangle; in SW_RenderCopyEx() 692 p1x = px * cangle - py * sangle + abscenterx; in SW_RenderCopyEx() 693 p1y = px * sangle + py * cangle + abscentery; in SW_RenderCopyEx() 698 p2x = px * cangle - py * sangle + abscenterx; in SW_RenderCopyEx() 699 p2y = px * sangle + py * cangle + abscentery; in SW_RenderCopyEx() 704 p3x = px * cangle - py * sangle + abscenterx; in SW_RenderCopyEx() 705 p3y = px * sangle + py * cangle + abscentery; in SW_RenderCopyEx() 710 p4x = px * cangle - py * sangle + abscenterx; in SW_RenderCopyEx() [all …]
|
H A D | SDL_rotate.c | 111 double *cangle, double *sangle) in SDLgfx_rotozoomSurfaceSizeTrig() argument 122 *sangle = angle90 == 1 ? -1 : 1; /* reversed because our rotations are clockwise */ in SDLgfx_rotozoomSurfaceSizeTrig() 127 *sangle = 0; in SDLgfx_rotozoomSurfaceSizeTrig() 137 *sangle = SDL_sin(radangle); in SDLgfx_rotozoomSurfaceSizeTrig() 143 sx = *sangle * x; in SDLgfx_rotozoomSurfaceSizeTrig() 144 sy = *sangle * y; in SDLgfx_rotozoomSurfaceSizeTrig() 414 …ntery, int smooth, int flipx, int flipy, int dstwidth, int dstheight, double cangle, double sangle) in SDLgfx_rotateSurface() argument 460 sangleinv = sangle*65536.0; in SDLgfx_rotateSurface()
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/SDL/src/render/software/ |
H A D | SDL_rotate.h | 26 …tery, int smooth, int flipx, int flipy, int dstwidth, int dstheight, double cangle, double sangle); 27 …nt width, int height, double angle, int *dstwidth, int *dstheight, double *cangle, double *sangle);
|
H A D | SDL_render_sw.c | 604 double cangle, sangle, px, py, p1x, p1y, p2x, p2y, p3x, p3y, p4x, p4y; in SW_RenderCopyEx() local 680 …fx_rotozoomSurfaceSizeTrig(tmp_rect.w, tmp_rect.h, angle, &dstwidth, &dstheight, &cangle, &sangle); in SW_RenderCopyEx() 687 sangle = -sangle; in SW_RenderCopyEx() 692 p1x = px * cangle - py * sangle + abscenterx; in SW_RenderCopyEx() 693 p1y = px * sangle + py * cangle + abscentery; in SW_RenderCopyEx() 698 p2x = px * cangle - py * sangle + abscenterx; in SW_RenderCopyEx() 699 p2y = px * sangle + py * cangle + abscentery; in SW_RenderCopyEx() 704 p3x = px * cangle - py * sangle + abscenterx; in SW_RenderCopyEx() 705 p3y = px * sangle + py * cangle + abscentery; in SW_RenderCopyEx() 710 p4x = px * cangle - py * sangle + abscenterx; in SW_RenderCopyEx() [all …]
|
H A D | SDL_rotate.c | 111 double *cangle, double *sangle) in SDLgfx_rotozoomSurfaceSizeTrig() argument 122 *sangle = angle90 == 1 ? -1 : 1; /* reversed because our rotations are clockwise */ in SDLgfx_rotozoomSurfaceSizeTrig() 127 *sangle = 0; in SDLgfx_rotozoomSurfaceSizeTrig() 137 *sangle = SDL_sin(radangle); in SDLgfx_rotozoomSurfaceSizeTrig() 143 sx = *sangle * x; in SDLgfx_rotozoomSurfaceSizeTrig() 144 sy = *sangle * y; in SDLgfx_rotozoomSurfaceSizeTrig() 414 …ntery, int smooth, int flipx, int flipy, int dstwidth, int dstheight, double cangle, double sangle) in SDLgfx_rotateSurface() argument 460 sangleinv = sangle*65536.0; in SDLgfx_rotateSurface()
|
/dports/graphics/milton/milton-1.9.1/third_party/SDL2-2.0.8/src/render/software/ |
H A D | SDL_rotate.h | 26 …tery, int smooth, int flipx, int flipy, int dstwidth, int dstheight, double cangle, double sangle); 27 …nt width, int height, double angle, int *dstwidth, int *dstheight, double *cangle, double *sangle);
|
H A D | SDL_render_sw.c | 613 double cangle, sangle, px, py, p1x, p1y, p2x, p2y, p3x, p3y, p4x, p4y; in SW_RenderCopyEx() local 719 …fx_rotozoomSurfaceSizeTrig(tmp_rect.w, tmp_rect.h, angle, &dstwidth, &dstheight, &cangle, &sangle); in SW_RenderCopyEx() 736 sangle = -sangle; in SW_RenderCopyEx() 741 p1x = px * cangle - py * sangle + abscenterx; in SW_RenderCopyEx() 742 p1y = px * sangle + py * cangle + abscentery; in SW_RenderCopyEx() 747 p2x = px * cangle - py * sangle + abscenterx; in SW_RenderCopyEx() 748 p2y = px * sangle + py * cangle + abscentery; in SW_RenderCopyEx() 753 p3x = px * cangle - py * sangle + abscenterx; in SW_RenderCopyEx() 754 p3y = px * sangle + py * cangle + abscentery; in SW_RenderCopyEx() 759 p4x = px * cangle - py * sangle + abscenterx; in SW_RenderCopyEx() [all …]
|
H A D | SDL_rotate.c | 106 double *cangle, double *sangle) in SDLgfx_rotozoomSurfaceSizeTrig() argument 117 *sangle = angle90 == 1 ? -1 : 1; /* reversed because our rotations are clockwise */ in SDLgfx_rotozoomSurfaceSizeTrig() 122 *sangle = 0; in SDLgfx_rotozoomSurfaceSizeTrig() 132 *sangle = SDL_sin(radangle); in SDLgfx_rotozoomSurfaceSizeTrig() 138 sx = *sangle * x; in SDLgfx_rotozoomSurfaceSizeTrig() 139 sy = *sangle * y; in SDLgfx_rotozoomSurfaceSizeTrig() 413 …ntery, int smooth, int flipx, int flipy, int dstwidth, int dstheight, double cangle, double sangle) in SDLgfx_rotateSurface() argument 437 sangleinv = sangle*65536.0; in SDLgfx_rotateSurface()
|
/dports/x11/controllermap/SDL2-2.0.18/src/render/software/ |
H A D | SDL_rotate.h | 29 …tery, int smooth, int flipx, int flipy, int dstwidth, int dstheight, double cangle, double sangle); 30 …nt width, int height, double angle, int *dstwidth, int *dstheight, double *cangle, double *sangle);
|
H A D | SDL_rotate.c | 110 double *cangle, double *sangle) in SDLgfx_rotozoomSurfaceSizeTrig() argument 121 *sangle = angle90 == 1 ? -1 : 1; /* reversed because our rotations are clockwise */ in SDLgfx_rotozoomSurfaceSizeTrig() 126 *sangle = 0; in SDLgfx_rotozoomSurfaceSizeTrig() 136 *sangle = SDL_sin(radangle); in SDLgfx_rotozoomSurfaceSizeTrig() 142 sx = *sangle * x; in SDLgfx_rotozoomSurfaceSizeTrig() 143 sy = *sangle * y; in SDLgfx_rotozoomSurfaceSizeTrig() 417 …ntery, int smooth, int flipx, int flipy, int dstwidth, int dstheight, double cangle, double sangle) in SDLgfx_rotateSurface() argument 443 sangleinv = sangle*65536.0; in SDLgfx_rotateSurface()
|
/dports/devel/sdl20/SDL2-2.0.18/src/render/software/ |
H A D | SDL_rotate.h | 29 …tery, int smooth, int flipx, int flipy, int dstwidth, int dstheight, double cangle, double sangle); 30 …nt width, int height, double angle, int *dstwidth, int *dstheight, double *cangle, double *sangle);
|
H A D | SDL_rotate.c | 110 double *cangle, double *sangle) in SDLgfx_rotozoomSurfaceSizeTrig() argument 121 *sangle = angle90 == 1 ? -1 : 1; /* reversed because our rotations are clockwise */ in SDLgfx_rotozoomSurfaceSizeTrig() 126 *sangle = 0; in SDLgfx_rotozoomSurfaceSizeTrig() 136 *sangle = SDL_sin(radangle); in SDLgfx_rotozoomSurfaceSizeTrig() 142 sx = *sangle * x; in SDLgfx_rotozoomSurfaceSizeTrig() 143 sy = *sangle * y; in SDLgfx_rotozoomSurfaceSizeTrig() 417 …ntery, int smooth, int flipx, int flipy, int dstwidth, int dstheight, double cangle, double sangle) in SDLgfx_rotateSurface() argument 443 sangleinv = sangle*65536.0; in SDLgfx_rotateSurface()
|