Skip to content
This repository was archived by the owner on Dec 15, 2020. It is now read-only.

Commit 9268f69

Browse files
lustyjfacebook-github-bot
authored andcommitted
Documentation changes for debate/discussion
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
1 parent da63704 commit 9268f69

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/3DCoordinatesAndTransforms.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ For example, a matrix which scales all axes by `0.01` and then translates by `[3
112112
}}
113113
```
114114

115-
**`rotateX`** : This command accepts a single value which rotates around the X axis 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`**.
116116

117117
```
118118
style={{
@@ -122,7 +122,7 @@ For example, a matrix which scales all axes by `0.01` and then translates by `[3
122122
}}
123123
```
124124

125-
**`rotateY`** : This command accepts a single value which rotates around the Y axis 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`**.
126126

127127
```
128128
style={{
@@ -132,7 +132,7 @@ For example, a matrix which scales all axes by `0.01` and then translates by `[3
132132
}}
133133
```
134134

135-
**`rotateZ`** : This command accepts a single value which rotates around the Z axis 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`**.
136136

137137
```
138138
style={{

0 commit comments

Comments
 (0)