Skip to content

Commit 56d6baa

Browse files
authored
Merge pull request #256 from cabanier/aspectratio
Clarify aspectratio
2 parents 2860f8f + 56710d6 commit 56d6baa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎webxrlayers-1.bs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ The <dfn attribute for="XRCylinderLayer">radius</dfn> attribute controls the rad
548548
The <dfn attribute for="XRCylinderLayer">centralAngle</dfn> attribute controls the angle in radians of the visible section of the cylinder.
549549
It grows symmetrically around the 0 angle.
550550

551-
The <dfn attribute for="XRCylinderLayer">aspectRatio</dfn> attribute controls the ratio of the visible cylinder section.
551+
The <dfn attribute for="XRCylinderLayer">aspectRatio</dfn> attribute controls the ratio of the visible cylinder section. It is the ratio of the width of the visible section of the cylinder divided by its height. The width is calculated by multiplying the {{XRCylinderLayer/radius}} with the {{XRCylinderLayer/centralAngle}}.
552552

553553
<img alt="description of the parameters of a cylinder layer"src="images/cylinder_layer_params.png" style="width:80%"/>
554554

0 commit comments

Comments
 (0)