You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2020. It is now read-only.
Summary: Adding reference to yaw, pitch and roll to documentation, for those new to the terms. E.g. not previously worked in 3D or flown a plane.
Reviewed By: mikearmstrong001
Differential Revision: D5111310
fbshipit-source-id: 77d45e3
Copy file name to clipboardExpand all lines: docs/3DCoordinatesAndTransforms.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,7 +112,7 @@ For example, a matrix which scales all axes by `0.01` and then translates by `[3
112
112
}}
113
113
```
114
114
115
-
**`rotateX`** : This command accepts a single value which rotates around the Xaxis by a number of degrees. The default units for numbers or string representations of a number are degrees. To specify radians instead, append **`rad`** to the string, for example, **`-0.5rad`**.
115
+
**`rotateX`** : This command accepts a single value which rotates around the X-axis by a number of degrees. If you imagine rotating the head of an avatar about the X-axis, this results in the avatar appearing to look up or down. This rotation is commonly referred to as *pitch*. The default units for numbers or string representations of a number are degrees. To specify radians instead, append **`rad`** to the string, for example, **`-0.5rad`**.
116
116
117
117
```
118
118
style={{
@@ -122,7 +122,7 @@ For example, a matrix which scales all axes by `0.01` and then translates by `[3
122
122
}}
123
123
```
124
124
125
-
**`rotateY`** : This command accepts a single value which rotates around the Yaxis by a number of degrees. The default units for numbers or string representations of a number are degrees. To specify radians instead, append **`rad`** to the string, for example, **`-0.5rad`**.
125
+
**`rotateY`** : This command accepts a single value which rotates around the Y-axis by a number of degrees. If you imagine rotating the head of an avatar about the Y-axis, this results in the avatar appearing to look left or right. This rotation is commonly referred to as *yaw*. The default units for numbers or string representations of a number are degrees. To specify radians instead, append **`rad`** to the string, for example, **`-0.5rad`**.
126
126
127
127
```
128
128
style={{
@@ -132,7 +132,7 @@ For example, a matrix which scales all axes by `0.01` and then translates by `[3
132
132
}}
133
133
```
134
134
135
-
**`rotateZ`** : This command accepts a single value which rotates around the Zaxis by a number of degrees. The default units for numbers or string representations of a number are degrees. To specify radians instead, append **`rad`** to the string, for example, **`-0.5rad`**.
135
+
**`rotateZ`** : This command accepts a single value which rotates around the Z-axis by a number of degrees. If you imagine rotating the head of an avatar about the Z-axis, this results in the avatar appearing to tilt their head. This rotation is commonly referred to as *roll*. The default units for numbers or string representations of a number are degrees. To specify radians instead, append **`rad`** to the string, for example, **`-0.5rad`**.
0 commit comments