Skip to content

Commit bdb74c9

Browse files
authored
Merge pull request #401 from limzykenneth/type-reference
Update reference and fix naming clash
2 parents 260f50c + 6a1ca41 commit bdb74c9

File tree

242 files changed

+11501
-3769
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

242 files changed

+11501
-3769
lines changed

src/content/reference/en/p5.Camera/camera.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ description: >
5151
the "up"
5252
5353
vector is <code>(0, 1, 0)</code>.</p>
54-
line: 2695
54+
line: 2686
5555
isConstructor: false
5656
itemtype: method
5757
example:

src/content/reference/en/p5.Camera/frustum.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ description: >
5858
the
5959
6060
camera and the origin.</p>
61-
line: 2282
61+
line: 2273
6262
isConstructor: false
6363
itemtype: method
6464
example:

src/content/reference/en/p5.Camera/lookAt.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ description: >
1919
<code>myCamera.lookAt(10, 20, 30)</code> points the camera at the coordinates
2020
2121
<code>(10, 20, 30)</code>.</p>
22-
line: 2598
22+
line: 2589
2323
isConstructor: false
2424
itemtype: method
2525
example:

src/content/reference/en/p5.Camera/move.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ description: >
1616
pixels to the right, 20 pixels down, and 30 pixels backward in its "local"
1717
1818
space.</p>
19-
line: 2923
19+
line: 2914
2020
isConstructor: false
2121
itemtype: method
2222
example:

src/content/reference/en/p5.Camera/pan.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ description: >
2424
<p>Note: Angles are interpreted based on the current
2525
2626
<a href="/reference/p5/angleMode">angleMode()</a>.</p>
27-
line: 2472
27+
line: 2463
2828
isConstructor: false
2929
itemtype: method
3030
example:

src/content/reference/en/p5.Camera/set.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ description: >
1313
1414
<code>cam2.set(cam1)</code> will set <code>cam2</code> using
1515
<code>cam1</code>’s configuration.</p>
16-
line: 3174
16+
line: 3165
1717
isConstructor: false
1818
itemtype: method
1919
example:

src/content/reference/en/p5.Camera/setPosition.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ description: >
1616
1717
places the camera at coordinates <code>(10, 20, 30)</code> in "world"
1818
space.</p>
19-
line: 3020
19+
line: 3011
2020
isConstructor: false
2121
itemtype: method
2222
example:

src/content/reference/en/p5.Camera/slerp.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ description: >
4242
close to <code>cam1</code>’s.</p>
4343
4444
<p>Note: All of the cameras must use the same projection.</p>
45-
line: 3252
45+
line: 3242
4646
isConstructor: false
4747
itemtype: method
4848
example:

src/content/reference/en/p5.Camera/tilt.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ description: >
2424
<p>Note: Angles are interpreted based on the current
2525
2626
<a href="/reference/p5/angleMode">angleMode()</a>.</p>
27-
line: 2535
27+
line: 2526
2828
isConstructor: false
2929
itemtype: method
3030
example:

src/content/reference/en/p5.Color/setAlpha.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@ title: setAlpha
33
module: Color
44
submodule: Creating & Reading
55
file: src/color/p5.Color.js
6-
description: |
6+
description: >
77
<p>Sets the alpha (transparency) value of a color.</p>
8+
89
<p>The range depends on the
9-
<a href="/reference/colorMode">colorMode()</a>. In the default RGB mode it's
10+
11+
<a href="/reference/p5/colorMode">colorMode()</a>. In the default RGB mode
12+
it's
13+
1014
between 0 and 255.</p>
1115
line: 697
1216
isConstructor: false

0 commit comments

Comments
 (0)