OSDN Git Service

SDL_HapticQuery サンプルコードのprintfをSDL_Logに置換 利用可能なバージョンを追加 https://wiki.libsdl.org/SDL_H...
[sdl2referencejp/sdl2referencejp.git] / SDL_acos.html
index 972038a..ff92529 100644 (file)
@@ -5,11 +5,11 @@
 <meta http-equiv="Content-Style-Type" content="text/css">\r
 <meta name="keywords" content="Simple Directmedia Layer SDL2.0">\r
 <link rel="top" href="index.html" title="\83z\81[\83\80">\r
-<link rel="parent" href="CategoryAdditionalOther.html" title="1\82Â\8fã">\r
+<link rel="parent" href="CategoryStandard.html" title="1\82Â\8fã">\r
 <title>SDL_acos</title>\r
 </head>\r
 <body>\r
-<a href="index.html">\96Ú\8e\9f</a> - <a href="ApiByCategory.html">API(\8b@\94\\95Ê)</a> - <a href="CategoryAdditionalOther.html">\82»\82Ì\91¼</a> - SDL_acos\r
+<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\r
 <hr>\r
 <h1>SDL_acos</h1>\r
 x\82Ì\83A\81[\83N\83R\83T\83C\83\93\82ð\93¾\82é\r
@@ -27,16 +27,18 @@ x
 <pre>\r
     /* acos(x) = Pi/2 - asin(x) */\r
     SDL_Log("acos(0):\t\t%f", SDL_acos(0));\r
-    SDL_Log("Pi/2 - asin(0):\t%f\n", M_PI / 2 - SDL_asin(0));\r
+    SDL_Log("Pi/2 - asin(0):\t%f", M_PI / 2 - SDL_asin(0));\r
 \r
     /* acos(-x) = Pi  - acos(x) */\r
     SDL_Log("acos(-(-1)):\t%f", SDL_acos(-(-1)));\r
-    SDL_Log("Pi - acos(-1):\t%f\n", M_PI - SDL_acos(-1));\r
+    SDL_Log("Pi - acos(-1):\t%f", M_PI - SDL_acos(-1));\r
 </pre>\r
 </code>\r
 </p>\r
 <h2>\8fÚ\8d×</h2>\r
-y = acos(x) \82Ì\92è\8b`\82Í x = cos(y) \82Å\82 \82é.\r
+y = acos(x) \82Ì\92è\8b`\82Í x = cos(y) \82Å\82 \82é.<br>\r
+(-1 &lt;= x &lt;= 1)<br>\r
+(0 &lt;= y &lt;= PI)\r
 <h2>\83o\81[\83W\83\87\83\93</h2>\r
 SDL 2.0.2\88È\8d~\r
 <h2>\8aÖ\98A\8d\80\96Ú(\8aÖ\90\94)</h2>\r