Home
last modified time | relevance | path

Searched refs:sangle (Results 1 – 25 of 103) sorted by relevance

12345

/dports/devel/libslang2/slang-2.3.2/src/curses/
H A Dtclock.c109 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 Dtclock.c110 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 DInPlaneDistances.cpp137 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 Dtclock.c134 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 Dnova.c46 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 DChBeamSectionShape.cpp62 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 Dfft_heightmap.glsl.vert.h26 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 Dtclock.py90 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 Dtclock.py90 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 DSDL_rotate.h26 …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 DSDL_render_sw.c604 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 DSDL_rotate.c111 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 DSDL_rotate.h26 …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 DSDL_render_sw.c604 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 DSDL_rotate.c111 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 DSDL_rotate.h26 …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 DSDL_render_sw.c604 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 DSDL_rotate.c111 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 DSDL_rotate.h26 …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 DSDL_render_sw.c613 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 DSDL_rotate.c106 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 DSDL_rotate.h29 …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 DSDL_rotate.c110 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 DSDL_rotate.h29 …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 DSDL_rotate.c110 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()

12345