Skip to content

Commit 21d82aa

Browse files
committed
Correction to ortho() reference
1 parent 8ca67a6 commit 21d82aa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

content/api_en/ortho.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<code><![CDATA[
1414
size(100, 100, P3D);
1515
noFill();
16-
ortho(-width/2, width/2, -height/2, height/2); // same as ortho()
16+
ortho(-width/2, width/2, -height/2, height/2); // Same as ortho()
1717
translate(width/2, height/2, 0);
1818
rotateX(-PI/6);
1919
rotateY(PI/3);
@@ -22,7 +22,7 @@ box(45);
2222
</example>
2323

2424
<description><![CDATA[
25-
Sets an orthographic projection and defines a parallel clipping volume. All objects with the same dimension appear the same size, regardless of whether they are near or far from the camera. The parameters to this function specify the clipping volume where left and right are the minimum and maximum x values, top and bottom are the minimum and maximum y values, and near and far are the minimum and maximum z values. If no parameters are given, the default is used: ortho(0, width, 0, height).
25+
Sets an orthographic projection and defines a parallel clipping volume. All objects with the same dimension appear the same size, regardless of whether they are near or far from the camera. The parameters to this function specify the clipping volume where left and right are the minimum and maximum x values, top and bottom are the minimum and maximum y values, and near and far are the minimum and maximum z values. If no parameters are given, the default is used: ortho(-width/2, width/2, -height/2, height/2).
2626
]]></description>
2727

2828
</root>

content/static/tutorials/transform2d/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h1 style="line-height: 0.7em;">2D Transformations</h1>
88
<h3 style="line-height: 0.7em;"><em>J David Eisenberg</em></h3>
99

1010

11-
<p>
11+
<p class="txt">
1212
<em>(<a href="imgs/transform2d.zip">Download the files from this tutorial.)</em></a>
1313
</p>
1414

0 commit comments

Comments
 (0)