propane 3.1.0.pre-java → 3.2.0-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/.mvn/wrapper/maven-wrapper.properties +1 -0
  3. data/CHANGELOG.md +1 -5
  4. data/README.md +23 -12
  5. data/Rakefile +23 -12
  6. data/lib/propane/helpers/version_error.rb +6 -0
  7. data/lib/propane/runner.rb +12 -0
  8. data/lib/propane/version.rb +1 -1
  9. data/library/slider/slider.rb +1 -1
  10. data/mvnw +234 -0
  11. data/mvnw.cmd +145 -0
  12. data/pom.xml +28 -27
  13. data/propane.gemspec +2 -2
  14. data/src/main/java/japplemenubar/JAppleMenuBar.java +41 -47
  15. data/src/main/java/monkstone/ColorUtil.java +1 -1
  16. data/src/main/java/monkstone/MathToolModule.java +12 -11
  17. data/src/main/java/monkstone/PropaneLibrary.java +9 -10
  18. data/src/main/java/monkstone/core/LibraryProxy.java +124 -113
  19. data/src/main/java/monkstone/fastmath/Deglut.java +86 -89
  20. data/src/main/java/monkstone/filechooser/Chooser.java +7 -13
  21. data/src/main/java/monkstone/noise/SimplexNoise.java +0 -1
  22. data/src/main/java/monkstone/slider/CustomHorizontalSlider.java +4 -4
  23. data/src/main/java/monkstone/slider/CustomVerticalSlider.java +1 -1
  24. data/src/main/java/monkstone/slider/SimpleHorizontalSlider.java +9 -9
  25. data/src/main/java/monkstone/slider/SimpleSlider.java +0 -9
  26. data/src/main/java/monkstone/slider/SimpleVerticalSlider.java +11 -13
  27. data/src/main/java/monkstone/slider/Slider.java +1 -1
  28. data/src/main/java/monkstone/slider/SliderBar.java +1 -1
  29. data/src/main/java/monkstone/slider/SliderGroup.java +1 -1
  30. data/src/main/java/monkstone/slider/WheelHandler.java +8 -9
  31. data/src/main/java/monkstone/vecmath/AppRender.java +2 -2
  32. data/src/main/java/monkstone/vecmath/ShapeRender.java +2 -2
  33. data/src/main/java/monkstone/vecmath/package-info.java +2 -2
  34. data/src/main/java/monkstone/vecmath/vec2/Vec2.java +2 -2
  35. data/src/main/java/monkstone/vecmath/vec3/Vec3.java +1 -1
  36. data/src/main/java/monkstone/videoevent/VideoInterface.java +11 -5
  37. data/src/main/java/monkstone/videoevent/package-info.java +2 -2
  38. data/src/main/java/processing/awt/PGraphicsJava2D.java +1742 -2243
  39. data/src/main/java/processing/awt/PShapeJava2D.java +268 -270
  40. data/src/main/java/processing/awt/PSurfaceAWT.java +821 -920
  41. data/src/main/java/processing/core/DesktopHandler.java +94 -0
  42. data/src/main/java/processing/core/PApplet.java +14170 -14082
  43. data/src/main/java/processing/core/PConstants.java +447 -473
  44. data/src/main/java/processing/core/PFont.java +867 -873
  45. data/src/main/java/processing/core/PGraphics.java +7193 -7428
  46. data/src/main/java/processing/core/PImage.java +3051 -3117
  47. data/src/main/java/processing/core/PMatrix.java +159 -172
  48. data/src/main/java/processing/core/PMatrix2D.java +403 -444
  49. data/src/main/java/processing/core/PMatrix3D.java +735 -749
  50. data/src/main/java/processing/core/PShape.java +2651 -2793
  51. data/src/main/java/processing/core/PShapeOBJ.java +415 -422
  52. data/src/main/java/processing/core/PShapeSVG.java +1466 -1475
  53. data/src/main/java/processing/core/PStyle.java +37 -40
  54. data/src/main/java/processing/core/PSurface.java +98 -103
  55. data/src/main/java/processing/core/PSurfaceNone.java +208 -236
  56. data/src/main/java/processing/core/PVector.java +961 -990
  57. data/src/main/java/processing/data/DoubleDict.java +709 -753
  58. data/src/main/java/processing/data/DoubleList.java +695 -748
  59. data/src/main/java/processing/data/FloatDict.java +702 -746
  60. data/src/main/java/processing/data/FloatList.java +697 -751
  61. data/src/main/java/processing/data/IntDict.java +673 -718
  62. data/src/main/java/processing/data/IntList.java +633 -699
  63. data/src/main/java/processing/data/JSONArray.java +873 -931
  64. data/src/main/java/processing/data/JSONObject.java +1165 -1262
  65. data/src/main/java/processing/data/JSONTokener.java +341 -351
  66. data/src/main/java/processing/data/LongDict.java +662 -707
  67. data/src/main/java/processing/data/LongList.java +634 -700
  68. data/src/main/java/processing/data/Sort.java +41 -37
  69. data/src/main/java/processing/data/StringDict.java +486 -522
  70. data/src/main/java/processing/data/StringList.java +580 -624
  71. data/src/main/java/processing/data/Table.java +3508 -3686
  72. data/src/main/java/processing/data/TableRow.java +183 -182
  73. data/src/main/java/processing/data/XML.java +883 -957
  74. data/src/main/java/processing/event/Event.java +66 -87
  75. data/src/main/java/processing/event/KeyEvent.java +41 -48
  76. data/src/main/java/processing/event/MouseEvent.java +93 -103
  77. data/src/main/java/processing/event/TouchEvent.java +6 -10
  78. data/src/main/java/processing/javafx/PGraphicsFX2D.java +5 -69
  79. data/src/main/java/processing/javafx/PSurfaceFX.java +2 -7
  80. data/src/main/java/processing/opengl/FontTexture.java +270 -290
  81. data/src/main/java/processing/opengl/FrameBuffer.java +363 -375
  82. data/src/main/java/processing/opengl/LinePath.java +500 -543
  83. data/src/main/java/processing/opengl/LineStroker.java +582 -593
  84. data/src/main/java/processing/opengl/PGL.java +2881 -2904
  85. data/src/main/java/processing/opengl/PGraphics2D.java +315 -408
  86. data/src/main/java/processing/opengl/PGraphics3D.java +72 -107
  87. data/src/main/java/processing/opengl/PGraphicsOpenGL.java +12043 -12230
  88. data/src/main/java/processing/opengl/PJOGL.java +1681 -1745
  89. data/src/main/java/processing/opengl/PShader.java +1257 -1260
  90. data/src/main/java/processing/opengl/PShapeOpenGL.java +4599 -4662
  91. data/src/main/java/processing/opengl/PSurfaceJOGL.java +1030 -1047
  92. data/src/main/java/processing/opengl/Texture.java +1397 -1462
  93. data/src/main/java/processing/opengl/VertexBuffer.java +55 -57
  94. data/src/main/resources/icon/icon-1024.png +0 -0
  95. data/src/main/resources/icon/icon-128.png +0 -0
  96. data/src/main/resources/icon/icon-16.png +0 -0
  97. data/src/main/resources/icon/icon-256.png +0 -0
  98. data/src/main/resources/icon/icon-32.png +0 -0
  99. data/src/main/resources/icon/icon-48.png +0 -0
  100. data/src/main/resources/icon/icon-512.png +0 -0
  101. data/src/main/resources/icon/icon-64.png +0 -0
  102. data/vendors/Rakefile +1 -1
  103. metadata +12 -8
  104. data/src/main/java/processing/core/ThinkDifferent.java +0 -70
@@ -1,5 +1,3 @@
1
- /* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
2
-
3
1
  /*
4
2
  Part of the Processing project - http://processing.org
5
3
 
@@ -20,8 +18,7 @@
20
18
  Public License along with this library; if not, write to the
21
19
  Free Software Foundation, Inc., 59 Temple Place, Suite 330,
22
20
  Boston, MA 02111-1307 USA
23
- */
24
-
21
+ */
25
22
  package processing.opengl;
26
23
 
27
24
  import processing.core.PGraphics;
@@ -29,259 +26,202 @@ import processing.core.PMatrix3D;
29
26
  import processing.core.PShape;
30
27
  import processing.core.PShapeSVG;
31
28
 
32
-
33
29
  public class PGraphics2D extends PGraphicsOpenGL {
34
30
 
35
- public PGraphics2D() {
36
- super();
37
- }
38
-
39
-
40
- //////////////////////////////////////////////////////////////
41
-
42
- // RENDERER SUPPORT QUERIES
43
-
44
-
45
- @Override
46
- public boolean is2D() {
47
- return true;
48
- }
49
-
50
-
51
- @Override
52
- public boolean is3D() {
53
- return false;
54
- }
55
-
56
-
57
- //////////////////////////////////////////////////////////////
58
-
59
- // HINTS
60
-
61
-
62
- @Override
63
- public void hint(int which) {
64
- if (which == ENABLE_STROKE_PERSPECTIVE) {
65
- showWarning("Strokes cannot be perspective-corrected in 2D.");
66
- return;
31
+ public PGraphics2D() {
32
+ super();
67
33
  }
68
- super.hint(which);
69
- }
70
-
71
-
72
- //////////////////////////////////////////////////////////////
73
-
74
- // PROJECTION
75
-
76
-
77
- @Override
78
- public void ortho() {
79
- showMethodWarning("ortho");
80
- }
81
-
82
-
83
- @Override
84
- public void ortho(float left, float right,
85
- float bottom, float top) {
86
- showMethodWarning("ortho");
87
- }
88
-
89
-
90
- @Override
91
- public void ortho(float left, float right,
92
- float bottom, float top,
93
- float near, float far) {
94
- showMethodWarning("ortho");
95
- }
96
-
97
-
98
- @Override
99
- public void perspective() {
100
- showMethodWarning("perspective");
101
- }
102
-
103
-
104
- @Override
105
- public void perspective(float fov, float aspect, float zNear, float zFar) {
106
- showMethodWarning("perspective");
107
- }
108
-
109
-
110
- @Override
111
- public void frustum(float left, float right, float bottom, float top,
112
- float znear, float zfar) {
113
- showMethodWarning("frustum");
114
- }
115
-
116
-
117
- @Override
118
- protected void defaultPerspective() {
119
- super.ortho(0, width, -height, 0, -1, +1);
120
- }
121
-
122
-
123
- //////////////////////////////////////////////////////////////
124
-
125
- // CAMERA
126
-
127
-
128
- @Override
129
- public void beginCamera() {
130
- showMethodWarning("beginCamera");
131
- }
132
-
133
-
134
- @Override
135
- public void endCamera() {
136
- showMethodWarning("endCamera");
137
- }
138
-
139
34
 
140
- @Override
141
- public void camera() {
142
- showMethodWarning("camera");
143
- }
144
-
145
-
146
- @Override
147
- public void camera(float eyeX, float eyeY, float eyeZ,
148
- float centerX, float centerY, float centerZ,
149
- float upX, float upY, float upZ) {
150
- showMethodWarning("camera");
151
- }
152
-
153
-
154
- @Override
155
- protected void defaultCamera() {
156
- eyeDist = 1;
157
- resetMatrix();
158
- }
159
-
160
-
161
- //////////////////////////////////////////////////////////////
162
-
163
- // MATRIX MORE!
164
-
165
-
166
- @Override
167
- protected void begin2D() {
168
- pushProjection();
169
- defaultPerspective();
170
- pushMatrix();
171
- defaultCamera();
172
- }
173
-
174
-
175
- @Override
176
- protected void end2D() {
177
- popMatrix();
178
- popProjection();
179
- }
180
-
181
-
182
- //////////////////////////////////////////////////////////////
183
-
184
- // SHAPE
185
-
186
-
187
- @Override
188
- public void shape(PShape shape) {
189
- if (shape.is2D()) {
190
- super.shape(shape);
191
- } else {
192
- showWarning("The shape object is not 2D, cannot be displayed with " +
193
- "this renderer");
35
+ //////////////////////////////////////////////////////////////
36
+ // RENDERER SUPPORT QUERIES
37
+ @Override
38
+ public boolean is2D() {
39
+ return true;
194
40
  }
195
- }
196
41
 
197
-
198
- @Override
199
- public void shape(PShape shape, float x, float y) {
200
- if (shape.is2D()) {
201
- super.shape(shape, x, y);
202
- } else {
203
- showWarning("The shape object is not 2D, cannot be displayed with " +
204
- "this renderer");
42
+ @Override
43
+ public boolean is3D() {
44
+ return false;
205
45
  }
206
- }
207
46
 
208
-
209
- @Override
210
- public void shape(PShape shape, float a, float b, float c, float d) {
211
- if (shape.is2D()) {
212
- super.shape(shape, a, b, c, d);
213
- } else {
214
- showWarning("The shape object is not 2D, cannot be displayed with " +
215
- "this renderer");
47
+ //////////////////////////////////////////////////////////////
48
+ // HINTS
49
+ @Override
50
+ public void hint(int which) {
51
+ if (which == ENABLE_STROKE_PERSPECTIVE) {
52
+ showWarning("Strokes cannot be perspective-corrected in 2D.");
53
+ return;
54
+ }
55
+ super.hint(which);
216
56
  }
217
- }
218
57
 
58
+ //////////////////////////////////////////////////////////////
59
+ // PROJECTION
60
+ @Override
61
+ public void ortho() {
62
+ showMethodWarning("ortho");
63
+ }
219
64
 
220
- @Override
221
- public void shape(PShape shape, float x, float y, float z) {
222
- showDepthWarningXYZ("shape");
223
- }
224
-
65
+ @Override
66
+ public void ortho(float left, float right,
67
+ float bottom, float top) {
68
+ showMethodWarning("ortho");
69
+ }
225
70
 
226
- @Override
227
- public void shape(PShape shape, float x, float y, float z,
228
- float c, float d, float e) {
229
- showDepthWarningXYZ("shape");
230
- }
71
+ @Override
72
+ public void ortho(float left, float right,
73
+ float bottom, float top,
74
+ float near, float far) {
75
+ showMethodWarning("ortho");
76
+ }
231
77
 
78
+ @Override
79
+ public void perspective() {
80
+ showMethodWarning("perspective");
81
+ }
232
82
 
83
+ @Override
84
+ public void perspective(float fov, float aspect, float zNear, float zFar) {
85
+ showMethodWarning("perspective");
86
+ }
233
87
 
234
- //////////////////////////////////////////////////////////////
88
+ @Override
89
+ public void frustum(float left, float right, float bottom, float top,
90
+ float znear, float zfar) {
91
+ showMethodWarning("frustum");
92
+ }
235
93
 
236
- // SHAPE I/O
94
+ @Override
95
+ protected void defaultPerspective() {
96
+ super.ortho(0, width, -height, 0, -1, +1);
97
+ }
237
98
 
99
+ //////////////////////////////////////////////////////////////
100
+ // CAMERA
101
+ @Override
102
+ public void beginCamera() {
103
+ showMethodWarning("beginCamera");
104
+ }
238
105
 
239
- static protected boolean isSupportedExtension(String extension) {
240
- return extension.equals("svg") || extension.equals("svgz");
241
- }
106
+ @Override
107
+ public void endCamera() {
108
+ showMethodWarning("endCamera");
109
+ }
242
110
 
111
+ @Override
112
+ public void camera() {
113
+ showMethodWarning("camera");
114
+ }
243
115
 
244
- static protected PShape loadShapeImpl(PGraphics pg,
245
- String filename, String extension) {
246
- if (extension.equals("svg") || extension.equals("svgz")) {
247
- PShapeSVG svg = new PShapeSVG(pg.parent.loadXML(filename));
248
- return PShapeOpenGL.createShape((PGraphicsOpenGL) pg, svg);
116
+ @Override
117
+ public void camera(float eyeX, float eyeY, float eyeZ,
118
+ float centerX, float centerY, float centerZ,
119
+ float upX, float upY, float upZ) {
120
+ showMethodWarning("camera");
249
121
  }
250
- return null;
251
- }
252
122
 
123
+ @Override
124
+ protected void defaultCamera() {
125
+ eyeDist = 1;
126
+ resetMatrix();
127
+ }
253
128
 
254
- //////////////////////////////////////////////////////////////
129
+ //////////////////////////////////////////////////////////////
130
+ // MATRIX MORE!
131
+ @Override
132
+ protected void begin2D() {
133
+ pushProjection();
134
+ defaultPerspective();
135
+ pushMatrix();
136
+ defaultCamera();
137
+ }
255
138
 
256
- // SCREEN TRANSFORMS
139
+ @Override
140
+ protected void end2D() {
141
+ popMatrix();
142
+ popProjection();
143
+ }
257
144
 
145
+ //////////////////////////////////////////////////////////////
146
+ // SHAPE
147
+ @Override
148
+ public void shape(PShape shape) {
149
+ if (shape.is2D()) {
150
+ super.shape(shape);
151
+ } else {
152
+ showWarning("The shape object is not 2D, cannot be displayed with "
153
+ + "this renderer");
154
+ }
155
+ }
258
156
 
259
- @Override
260
- public float modelX(float x, float y, float z) {
261
- showDepthWarning("modelX");
262
- return 0;
263
- }
157
+ @Override
158
+ public void shape(PShape shape, float x, float y) {
159
+ if (shape.is2D()) {
160
+ super.shape(shape, x, y);
161
+ } else {
162
+ showWarning("The shape object is not 2D, cannot be displayed with "
163
+ + "this renderer");
164
+ }
165
+ }
264
166
 
167
+ @Override
168
+ public void shape(PShape shape, float a, float b, float c, float d) {
169
+ if (shape.is2D()) {
170
+ super.shape(shape, a, b, c, d);
171
+ } else {
172
+ showWarning("The shape object is not 2D, cannot be displayed with "
173
+ + "this renderer");
174
+ }
175
+ }
265
176
 
266
- @Override
267
- public float modelY(float x, float y, float z) {
268
- showDepthWarning("modelY");
269
- return 0;
270
- }
177
+ @Override
178
+ public void shape(PShape shape, float x, float y, float z) {
179
+ showDepthWarningXYZ("shape");
180
+ }
271
181
 
182
+ @Override
183
+ public void shape(PShape shape, float x, float y, float z,
184
+ float c, float d, float e) {
185
+ showDepthWarningXYZ("shape");
186
+ }
272
187
 
273
- @Override
274
- public float modelZ(float x, float y, float z) {
275
- showDepthWarning("modelZ");
276
- return 0;
277
- }
188
+ //////////////////////////////////////////////////////////////
189
+ // SHAPE I/O
190
+ static protected boolean isSupportedExtension(String extension) {
191
+ return extension.equals("svg") || extension.equals("svgz");
192
+ }
278
193
 
194
+ static protected PShape loadShapeImpl(PGraphics pg,
195
+ String filename, String extension) {
196
+ if (extension.equals("svg") || extension.equals("svgz")) {
197
+ PShapeSVG svg = new PShapeSVG(pg.parent.loadXML(filename));
198
+ return PShapeOpenGL.createShape((PGraphicsOpenGL) pg, svg);
199
+ }
200
+ return null;
201
+ }
279
202
 
280
- //////////////////////////////////////////////////////////////
203
+ //////////////////////////////////////////////////////////////
204
+ // SCREEN TRANSFORMS
205
+ @Override
206
+ public float modelX(float x, float y, float z) {
207
+ showDepthWarning("modelX");
208
+ return 0;
209
+ }
281
210
 
282
- // SHAPE CREATION
211
+ @Override
212
+ public float modelY(float x, float y, float z) {
213
+ showDepthWarning("modelY");
214
+ return 0;
215
+ }
283
216
 
217
+ @Override
218
+ public float modelZ(float x, float y, float z) {
219
+ showDepthWarning("modelZ");
220
+ return 0;
221
+ }
284
222
 
223
+ //////////////////////////////////////////////////////////////
224
+ // SHAPE CREATION
285
225
  // @Override
286
226
  // protected PShape createShapeFamily(int type) {
287
227
  // return new PShapeOpenGL(this, type);
@@ -292,9 +232,7 @@ public class PGraphics2D extends PGraphicsOpenGL {
292
232
  // protected PShape createShapePrimitive(int kind, float... p) {
293
233
  // return new PShapeOpenGL(this, kind, p);
294
234
  // }
295
-
296
-
297
- /*
235
+ /*
298
236
  @Override
299
237
  public PShape createShape(PShape source) {
300
238
  return PShapeOpenGL.createShape2D(this, source);
@@ -402,214 +340,183 @@ public class PGraphics2D extends PGraphicsOpenGL {
402
340
  shape.set3D(false);
403
341
  return shape;
404
342
  }
405
- */
406
-
407
-
408
- //////////////////////////////////////////////////////////////
409
-
410
- // BEZIER VERTICES
411
-
412
-
413
- @Override
414
- public void bezierVertex(float x2, float y2, float z2,
415
- float x3, float y3, float z3,
416
- float x4, float y4, float z4) {
417
- showDepthWarningXYZ("bezierVertex");
418
- }
419
-
420
-
421
- //////////////////////////////////////////////////////////////
422
-
423
- // QUADRATIC BEZIER VERTICES
424
-
425
-
426
- @Override
427
- public void quadraticVertex(float x2, float y2, float z2,
428
- float x4, float y4, float z4) {
429
- showDepthWarningXYZ("quadVertex");
430
- }
431
-
432
-
433
- //////////////////////////////////////////////////////////////
434
-
435
- // CURVE VERTICES
436
-
437
-
438
- @Override
439
- public void curveVertex(float x, float y, float z) {
440
- showDepthWarningXYZ("curveVertex");
441
- }
442
-
443
-
444
- //////////////////////////////////////////////////////////////
445
-
446
- // BOX
447
-
448
-
449
- @Override
450
- public void box(float w, float h, float d) {
451
- showMethodWarning("box");
452
- }
453
-
454
-
455
- //////////////////////////////////////////////////////////////
456
-
457
- // SPHERE
458
-
459
-
460
- @Override
461
- public void sphere(float r) {
462
- showMethodWarning("sphere");
463
- }
464
-
465
-
466
- //////////////////////////////////////////////////////////////
467
-
468
- // VERTEX SHAPES
469
-
470
-
471
- @Override
472
- public void vertex(float x, float y, float z) {
473
- showDepthWarningXYZ("vertex");
474
- }
475
-
476
- @Override
477
- public void vertex(float x, float y, float z, float u, float v) {
478
- showDepthWarningXYZ("vertex");
479
- }
343
+ */
344
+ //////////////////////////////////////////////////////////////
345
+ // BEZIER VERTICES
346
+ @Override
347
+ public void bezierVertex(float x2, float y2, float z2,
348
+ float x3, float y3, float z3,
349
+ float x4, float y4, float z4) {
350
+ showDepthWarningXYZ("bezierVertex");
351
+ }
480
352
 
481
- //////////////////////////////////////////////////////////////
353
+ //////////////////////////////////////////////////////////////
354
+ // QUADRATIC BEZIER VERTICES
355
+ @Override
356
+ public void quadraticVertex(float x2, float y2, float z2,
357
+ float x4, float y4, float z4) {
358
+ showDepthWarningXYZ("quadVertex");
359
+ }
482
360
 
483
- // MATRIX TRANSFORMATIONS
361
+ //////////////////////////////////////////////////////////////
362
+ // CURVE VERTICES
363
+ @Override
364
+ public void curveVertex(float x, float y, float z) {
365
+ showDepthWarningXYZ("curveVertex");
366
+ }
484
367
 
485
- @Override
486
- public void translate(float tx, float ty, float tz) {
487
- showDepthWarningXYZ("translate");
488
- }
368
+ //////////////////////////////////////////////////////////////
369
+ // BOX
370
+ @Override
371
+ public void box(float w, float h, float d) {
372
+ showMethodWarning("box");
373
+ }
489
374
 
490
- @Override
491
- public void rotateX(float angle) {
492
- showDepthWarning("rotateX");
493
- }
375
+ //////////////////////////////////////////////////////////////
376
+ // SPHERE
377
+ @Override
378
+ public void sphere(float r) {
379
+ showMethodWarning("sphere");
380
+ }
494
381
 
495
- @Override
496
- public void rotateY(float angle) {
497
- showDepthWarning("rotateY");
498
- }
382
+ //////////////////////////////////////////////////////////////
383
+ // VERTEX SHAPES
384
+ @Override
385
+ public void vertex(float x, float y, float z) {
386
+ showDepthWarningXYZ("vertex");
387
+ }
499
388
 
500
- @Override
501
- public void rotateZ(float angle) {
502
- showDepthWarning("rotateZ");
503
- }
389
+ @Override
390
+ public void vertex(float x, float y, float z, float u, float v) {
391
+ showDepthWarningXYZ("vertex");
392
+ }
504
393
 
505
- @Override
506
- public void rotate(float angle, float vx, float vy, float vz) {
507
- showVariationWarning("rotate");
508
- }
394
+ //////////////////////////////////////////////////////////////
395
+ // MATRIX TRANSFORMATIONS
396
+ @Override
397
+ public void translate(float tx, float ty, float tz) {
398
+ showDepthWarningXYZ("translate");
399
+ }
509
400
 
510
- @Override
511
- public void applyMatrix(PMatrix3D source) {
512
- showVariationWarning("applyMatrix");
513
- }
401
+ @Override
402
+ public void rotateX(float angle) {
403
+ showDepthWarning("rotateX");
404
+ }
514
405
 
515
- @Override
516
- public void applyMatrix(float n00, float n01, float n02, float n03,
517
- float n10, float n11, float n12, float n13,
518
- float n20, float n21, float n22, float n23,
519
- float n30, float n31, float n32, float n33) {
520
- showVariationWarning("applyMatrix");
521
- }
406
+ @Override
407
+ public void rotateY(float angle) {
408
+ showDepthWarning("rotateY");
409
+ }
522
410
 
523
- @Override
524
- public void scale(float sx, float sy, float sz) {
525
- showDepthWarningXYZ("scale");
526
- }
411
+ @Override
412
+ public void rotateZ(float angle) {
413
+ showDepthWarning("rotateZ");
414
+ }
527
415
 
528
- //////////////////////////////////////////////////////////////
416
+ @Override
417
+ public void rotate(float angle, float vx, float vy, float vz) {
418
+ showVariationWarning("rotate");
419
+ }
529
420
 
530
- // SCREEN AND MODEL COORDS
421
+ @Override
422
+ public void applyMatrix(PMatrix3D source) {
423
+ showVariationWarning("applyMatrix");
424
+ }
531
425
 
532
- @Override
533
- public float screenX(float x, float y, float z) {
534
- showDepthWarningXYZ("screenX");
535
- return 0;
536
- }
426
+ @Override
427
+ public void applyMatrix(float n00, float n01, float n02, float n03,
428
+ float n10, float n11, float n12, float n13,
429
+ float n20, float n21, float n22, float n23,
430
+ float n30, float n31, float n32, float n33) {
431
+ showVariationWarning("applyMatrix");
432
+ }
537
433
 
538
- @Override
539
- public float screenY(float x, float y, float z) {
540
- showDepthWarningXYZ("screenY");
541
- return 0;
542
- }
434
+ @Override
435
+ public void scale(float sx, float sy, float sz) {
436
+ showDepthWarningXYZ("scale");
437
+ }
543
438
 
544
- @Override
545
- public float screenZ(float x, float y, float z) {
546
- showDepthWarningXYZ("screenZ");
547
- return 0;
548
- }
439
+ //////////////////////////////////////////////////////////////
440
+ // SCREEN AND MODEL COORDS
441
+ @Override
442
+ public float screenX(float x, float y, float z) {
443
+ showDepthWarningXYZ("screenX");
444
+ return 0;
445
+ }
549
446
 
550
- @Override
551
- public PMatrix3D getMatrix(PMatrix3D target) {
552
- showVariationWarning("getMatrix");
553
- return target;
554
- }
447
+ @Override
448
+ public float screenY(float x, float y, float z) {
449
+ showDepthWarningXYZ("screenY");
450
+ return 0;
451
+ }
555
452
 
556
- @Override
557
- public void setMatrix(PMatrix3D source) {
558
- showVariationWarning("setMatrix");
559
- }
453
+ @Override
454
+ public float screenZ(float x, float y, float z) {
455
+ showDepthWarningXYZ("screenZ");
456
+ return 0;
457
+ }
560
458
 
561
- //////////////////////////////////////////////////////////////
459
+ @Override
460
+ public PMatrix3D getMatrix(PMatrix3D target) {
461
+ showVariationWarning("getMatrix");
462
+ return target;
463
+ }
562
464
 
563
- // LIGHTS
465
+ @Override
466
+ public void setMatrix(PMatrix3D source) {
467
+ showVariationWarning("setMatrix");
468
+ }
564
469
 
565
- @Override
566
- public void lights() {
567
- showMethodWarning("lights");
568
- }
470
+ //////////////////////////////////////////////////////////////
471
+ // LIGHTS
472
+ @Override
473
+ public void lights() {
474
+ showMethodWarning("lights");
475
+ }
569
476
 
570
- @Override
571
- public void noLights() {
572
- showMethodWarning("noLights");
573
- }
477
+ @Override
478
+ public void noLights() {
479
+ showMethodWarning("noLights");
480
+ }
574
481
 
575
- @Override
576
- public void ambientLight(float red, float green, float blue) {
577
- showMethodWarning("ambientLight");
578
- }
482
+ @Override
483
+ public void ambientLight(float red, float green, float blue) {
484
+ showMethodWarning("ambientLight");
485
+ }
579
486
 
580
- @Override
581
- public void ambientLight(float red, float green, float blue,
582
- float x, float y, float z) {
583
- showMethodWarning("ambientLight");
584
- }
487
+ @Override
488
+ public void ambientLight(float red, float green, float blue,
489
+ float x, float y, float z) {
490
+ showMethodWarning("ambientLight");
491
+ }
585
492
 
586
- @Override
587
- public void directionalLight(float red, float green, float blue,
588
- float nx, float ny, float nz) {
589
- showMethodWarning("directionalLight");
590
- }
493
+ @Override
494
+ public void directionalLight(float red, float green, float blue,
495
+ float nx, float ny, float nz) {
496
+ showMethodWarning("directionalLight");
497
+ }
591
498
 
592
- @Override
593
- public void pointLight(float red, float green, float blue,
594
- float x, float y, float z) {
595
- showMethodWarning("pointLight");
596
- }
499
+ @Override
500
+ public void pointLight(float red, float green, float blue,
501
+ float x, float y, float z) {
502
+ showMethodWarning("pointLight");
503
+ }
597
504
 
598
- @Override
599
- public void spotLight(float red, float green, float blue,
600
- float x, float y, float z,
601
- float nx, float ny, float nz,
602
- float angle, float concentration) {
603
- showMethodWarning("spotLight");
604
- }
505
+ @Override
506
+ public void spotLight(float red, float green, float blue,
507
+ float x, float y, float z,
508
+ float nx, float ny, float nz,
509
+ float angle, float concentration) {
510
+ showMethodWarning("spotLight");
511
+ }
605
512
 
606
- @Override
607
- public void lightFalloff(float constant, float linear, float quadratic) {
608
- showMethodWarning("lightFalloff");
609
- }
513
+ @Override
514
+ public void lightFalloff(float constant, float linear, float quadratic) {
515
+ showMethodWarning("lightFalloff");
516
+ }
610
517
 
611
- @Override
612
- public void lightSpecular(float v1, float v2, float v3) {
613
- showMethodWarning("lightSpecular");
614
- }
615
- }
518
+ @Override
519
+ public void lightSpecular(float v1, float v2, float v3) {
520
+ showMethodWarning("lightSpecular");
521
+ }
522
+ }