OSDN Git Service

SDL_HINT_RENDER_DRIVER metalを追加した https://wiki.libsdl.org/SDL_HINT_RENDER_DRIVER...
[sdl2referencejp/sdl2referencejp.git] / SDL_acos.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html lang="ja-JP">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
5 <meta http-equiv="Content-Style-Type" content="text/css">
6 <meta name="keywords" content="Simple Directmedia Layer SDL2.0">
7 <link rel="top" href="index.html" title="\83z\81[\83\80">
8 <link rel="parent" href="CategoryStandard.html" title="1\82Â\8fã">
9 <title>SDL_acos</title>
10 </head>
11 <body>
12 <a href="index.html">\96Ú\8e\9f</a> - <a href="ApiByCategory.html">API(\8b@\94\\95Ê)</a> - <a href="CategoryStandard.html">\95W\8f\80\83\89\83C\83u\83\89\83\8a</a> - SDL_acos
13 <hr>
14 <h1>SDL_acos</h1>
15 x\82Ì\83A\81[\83N\83R\83T\83C\83\93\82ð\93¾\82é
16 <h2>\8d\\95¶</h2>
17 <code>double SDL_acos(double x)</code>
18 <h2>\88ø\90\94</h2>
19 <table border="1" summary="SDL_acos">
20 <tr><td>x</td><td>\95\82\93®\8f¬\90\94\93_\82Ì\83\89\83W\83A\83\93\82Ì\92l</td></tr>
21 </table>
22 <h2>\96ß\82è\92l</h2>
23 x\82Ì\83A\81[\83N\83R\83T\83C\83\93\82ð\96ß\82·
24 <h2>\83T\83\93\83v\83\8b\83R\81[\83h</h2>
25 <p>
26 <code>
27 <pre>
28     /* acos(x) = Pi/2 - asin(x) */
29     SDL_Log("acos(0):\t\t%f", SDL_acos(0));
30     SDL_Log("Pi/2 - asin(0):\t%f", M_PI / 2 - SDL_asin(0));
31
32     /* acos(-x) = Pi  - acos(x) */
33     SDL_Log("acos(-(-1)):\t%f", SDL_acos(-(-1)));
34     SDL_Log("Pi - acos(-1):\t%f", M_PI - SDL_acos(-1));
35 </pre>
36 </code>
37 </p>
38 <h2>\8fÚ\8d×</h2>
39 y = acos(x) \82Ì\92è\8b`\82Í x = cos(y) \82Å\82 \82é.<br>
40 (-1 &lt;= x &lt;= 1)<br>
41 (0 &lt;= y &lt;= PI)
42 <h2>\83o\81[\83W\83\87\83\93</h2>
43 SDL 2.0.2\88È\8d~
44 <h2>\8aÖ\98A\8d\80\96Ú(\8aÖ\90\94)</h2>
45 SDL_cos<br>
46 <h2>SDL Wiki\82Ö\82Ì\83\8a\83\93\83N</h2>
47 <a href="https://wiki.libsdl.org/SDL_acos">SDL_acos - SDL Wiki</a>
48 <hr>
49 </body>
50 </html>