Skip to content

Commit 13a8a37

Browse files
author
Scott Murray
committed
Added related links to reference for texture() textureMode() textureWrap()
1 parent b69ba8a commit 13a8a37

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

core/src/processing/core/PApplet.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10974,6 +10974,7 @@ public void normal(float nx, float ny, float nz) {
1097410974
* @webref image:textures
1097510975
* @param mode either IMAGE or NORMAL
1097610976
* @see PGraphics#texture(PImage)
10977+
* @see PGraphics#textureWrap(int)
1097710978
*/
1097810979
public void textureMode(int mode) {
1097910980
if (recorder != null) recorder.textureMode(mode);
@@ -10990,6 +10991,8 @@ public void textureMode(int mode) {
1099010991
*
1099110992
* @webref image:textures
1099210993
* @param wrap Either CLAMP (default) or REPEAT
10994+
* @see PGraphics#texture(PImage)
10995+
* @see PGraphics#textureMode(int)
1099310996
*/
1099410997
public void textureWrap(int wrap) {
1099510998
if (recorder != null) recorder.textureWrap(wrap);
@@ -11011,6 +11014,7 @@ public void textureWrap(int wrap) {
1101111014
* @webref image:textures
1101211015
* @param image reference to a PImage object
1101311016
* @see PGraphics#textureMode(int)
11017+
* @see PGraphics#textureWrap(int)
1101411018
* @see PGraphics#beginShape(int)
1101511019
* @see PGraphics#endShape(int)
1101611020
* @see PGraphics#vertex(float, float, float, float, float)

core/src/processing/core/PGraphics.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,6 +1201,7 @@ public void normal(float nx, float ny, float nz) {
12011201
* @webref image:textures
12021202
* @param mode either IMAGE or NORMAL
12031203
* @see PGraphics#texture(PImage)
1204+
* @see PGraphics#textureWrap(int)
12041205
*/
12051206
public void textureMode(int mode) {
12061207
this.textureMode = mode;
@@ -1215,6 +1216,8 @@ public void textureMode(int mode) {
12151216
*
12161217
* @webref image:textures
12171218
* @param wrap Either CLAMP (default) or REPEAT
1219+
* @see PGraphics#texture(PImage)
1220+
* @see PGraphics#textureMode(int)
12181221
*/
12191222
public void textureWrap(int wrap) {
12201223
showMissingWarning("textureWrap");
@@ -1235,6 +1238,7 @@ public void textureWrap(int wrap) {
12351238
* @webref image:textures
12361239
* @param image reference to a PImage object
12371240
* @see PGraphics#textureMode(int)
1241+
* @see PGraphics#textureWrap(int)
12381242
* @see PGraphics#beginShape(int)
12391243
* @see PGraphics#endShape(int)
12401244
* @see PGraphics#vertex(float, float, float, float, float)

0 commit comments

Comments
 (0)