aboutsummaryrefslogtreecommitdiff
path: root/files/ja/glossary/quaternion/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/glossary/quaternion/index.md')
-rw-r--r--files/ja/glossary/quaternion/index.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/files/ja/glossary/quaternion/index.md b/files/ja/glossary/quaternion/index.md
index 41f64414ea..3cdc0cd9c3 100644
--- a/files/ja/glossary/quaternion/index.md
+++ b/files/ja/glossary/quaternion/index.md
@@ -1,20 +1,20 @@
---
-title: Quaternion
+title: Quaternion (四元数)
slug: Glossary/Quaternion
tags:
- Definition
- - Glossary
+ - 用語集
- Orientation
- Quaternion
- WebXR
- rotation
---
-A **quaternion** is the quotient of two 3D vectors and is used in 3D graphics and in accelerometer-based sensors to represent orientation or rotational data.
+**四元数**は、2 つの 3D ベクトルの商であり、3D グラフィックや加速度計ベースのセンサーで、方位や回転のデータを表現するために使用されます。
-While mathematical quaternions are more involved than this, the **unit quaternions** (or **rotational quaternions**) used to represent rotation while using [WebGL](/en-US/docs/Glossary/WebGL) or [WebXR](/en-US/docs/Web/API/WebXR_Device_API), for example, are represented using the same syntax as a 3D point. As such, the type {{domxref("DOMPoint")}} (or {{domxref("DOMPointReadOnly")}}) is used to store quaternions.
+数学的な四元数はこれよりも複雑ですが、例えば [WebGL](/en-US/docs/Glossary/WebGL) や [WebXR](/en-US/docs/Web/API/WebXR_Device_API) を使用して回転を表現するための**単位四元数** (または**回転四元数**) は、3D ポイントと同じ構文を使用して表されます。そのため、{{domxref("DOMPoint")}} (または {{domxref("DOMPointReadOnly")}}) という型を使って四元数を格納します。
-## See also
+## 関連情報
-- {{interwiki("wikipedia", "Quaternions and spatial rotation")}} on Wikipedia
-- {{interwiki("wikipedia", "Quaternion")}} on Wikipedia
-- {{domxref("XRRigidTransform.orientation")}} in the WebXR Device API reference
+- {{interwiki("wikipedia", "en:Quaternions and spatial rotation")}} (Wikipedia)
+- {{interwiki("wikipedia", "四元数")}} (ウィキペディア)
+- {{domxref("XRRigidTransform.orientation")}} (WebXR Device API リファレンス)