propane 3.8.0-java → 4.0.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.mvn/extensions.xml +1 -1
- data/.mvn/wrapper/maven-wrapper.properties +1 -1
- data/.travis.yml +1 -1
- data/CHANGELOG.md +7 -1
- data/README.md +7 -7
- data/Rakefile +6 -5
- data/lib/propane/app.rb +10 -17
- data/lib/propane/helper_methods.rb +6 -6
- data/lib/propane/version.rb +1 -1
- data/lib/propane-4.0.0.jar +0 -0
- data/library/pdf/itextpdf-5.5.13.2.jar +0 -0
- data/library/pdf/pdf.rb +7 -0
- data/library/slider/slider.rb +1 -1
- data/library/svg/batik-all-1.14.jar +0 -0
- data/library/svg/svg.rb +7 -0
- data/mvnw +3 -3
- data/mvnw.cmd +2 -2
- data/pom.rb +35 -8
- data/pom.xml +60 -9
- data/propane.gemspec +9 -7
- data/src/main/java/monkstone/ColorUtil.java +1 -1
- data/src/main/java/monkstone/FastNoiseModuleJava.java +127 -0
- data/src/main/java/monkstone/MathToolModule.java +31 -31
- data/src/main/java/monkstone/PropaneLibrary.java +3 -1
- data/src/main/java/monkstone/SmoothNoiseModuleJava.java +127 -0
- data/src/main/java/monkstone/fastmath/DegLutTables.java +25 -26
- data/src/main/java/monkstone/fastmath/Deglut.java +1 -1
- data/src/main/java/monkstone/filechooser/Chooser.java +2 -2
- data/src/main/java/monkstone/noise/LICENSE +121 -0
- data/src/main/java/monkstone/noise/OpenSimplex2F.java +914 -0
- data/src/main/java/monkstone/noise/OpenSimplex2S.java +1138 -0
- data/src/main/java/monkstone/slider/CustomHorizontalSlider.java +1 -1
- data/src/main/java/monkstone/slider/CustomVerticalSlider.java +1 -1
- data/src/main/java/monkstone/slider/SimpleHorizontalSlider.java +1 -1
- data/src/main/java/monkstone/slider/SimpleVerticalSlider.java +1 -1
- data/src/main/java/monkstone/slider/SliderBar.java +1 -1
- data/src/main/java/monkstone/slider/SliderGroup.java +1 -1
- data/src/main/java/monkstone/slider/WheelHandler.java +2 -2
- data/src/main/java/monkstone/vecmath/JRender.java +6 -6
- data/src/main/java/monkstone/vecmath/package-info.java +1 -1
- data/src/main/java/monkstone/vecmath/vec2/Vec2.java +103 -83
- data/src/main/java/monkstone/vecmath/vec3/Vec3.java +27 -41
- data/src/main/java/monkstone/videoevent/CaptureEvent.java +1 -1
- data/src/main/java/monkstone/videoevent/MovieEvent.java +1 -1
- data/src/main/java/monkstone/videoevent/package-info.java +1 -1
- data/src/main/java/processing/awt/PGraphicsJava2D.java +11 -4
- data/src/main/java/processing/awt/PImageAWT.java +8 -8
- data/src/main/java/processing/core/PApplet.java +245 -254
- data/src/main/java/processing/core/PConstants.java +155 -163
- data/src/main/java/processing/core/PGraphics.java +116 -109
- data/src/main/java/processing/core/PImage.java +3025 -3047
- data/src/main/java/processing/core/PMatrix.java +5 -2
- data/src/main/java/processing/data/DoubleDict.java +72 -43
- data/src/main/java/processing/data/DoubleList.java +6 -2
- data/src/main/java/processing/data/FloatDict.java +744 -756
- data/src/main/java/processing/data/FloatList.java +68 -26
- data/src/main/java/processing/data/IntDict.java +72 -45
- data/src/main/java/processing/data/IntList.java +63 -26
- data/src/main/java/processing/data/JSONArray.java +892 -931
- data/src/main/java/processing/data/JSONObject.java +1169 -1262
- data/src/main/java/processing/data/JSONTokener.java +30 -49
- data/src/main/java/processing/data/LongDict.java +699 -712
- data/src/main/java/processing/data/LongList.java +676 -700
- data/src/main/java/processing/data/Sort.java +1 -0
- data/src/main/java/processing/data/Table.java +4040 -3661
- data/src/main/java/processing/data/TableRow.java +16 -0
- data/src/main/java/processing/data/XML.java +1041 -956
- data/src/main/java/processing/event/TouchEvent.java +1 -1
- data/src/main/java/processing/opengl/FontTexture.java +2 -2
- data/src/main/java/processing/opengl/PGraphicsOpenGL.java +28 -31
- data/src/main/java/processing/opengl/PJOGL.java +8 -7
- data/src/main/java/processing/opengl/PShader.java +1 -6
- data/src/main/java/processing/opengl/PShapeOpenGL.java +23 -24
- data/src/main/java/processing/opengl/PSurfaceJOGL.java +6 -6
- data/src/main/java/processing/pdf/PGraphicsPDF.java +581 -0
- data/src/main/java/processing/svg/PGraphicsSVG.java +378 -0
- data/src/main/{java/processing/opengl → resources}/cursors/arrow.png +0 -0
- data/src/main/{java/processing/opengl → resources}/cursors/cross.png +0 -0
- data/src/main/{java/processing/opengl → resources}/cursors/hand.png +0 -0
- data/src/main/{java/processing/opengl → resources}/cursors/license.txt +0 -0
- data/src/main/{java/processing/opengl → resources}/cursors/move.png +0 -0
- data/src/main/{java/processing/opengl → resources}/cursors/text.png +0 -0
- data/src/main/{java/processing/opengl → resources}/cursors/wait.png +0 -0
- data/src/main/{java/processing/opengl → resources}/shaders/ColorFrag.glsl +0 -0
- data/src/main/{java/processing/opengl → resources}/shaders/ColorVert.glsl +0 -0
- data/src/main/{java/processing/opengl → resources}/shaders/LightFrag.glsl +0 -0
- data/src/main/{java/processing/opengl → resources}/shaders/LightVert.glsl +0 -0
- data/src/main/{java/processing/opengl → resources}/shaders/LineFrag.glsl +0 -0
- data/src/main/{java/processing/opengl → resources}/shaders/LineVert.glsl +0 -0
- data/src/main/{java/processing/opengl → resources}/shaders/MaskFrag.glsl +0 -0
- data/src/main/{java/processing/opengl → resources}/shaders/PointFrag.glsl +0 -0
- data/src/main/{java/processing/opengl → resources}/shaders/PointVert.glsl +0 -0
- data/src/main/{java/processing/opengl → resources}/shaders/TexFrag.glsl +0 -0
- data/src/main/{java/processing/opengl → resources}/shaders/TexLightFrag.glsl +0 -0
- data/src/main/{java/processing/opengl → resources}/shaders/TexLightVert.glsl +0 -0
- data/src/main/{java/processing/opengl → resources}/shaders/TexVert.glsl +0 -0
- data/test/test_helper.rb +1 -0
- data/test/vecmath_spec_test.rb +14 -3
- data/vendors/Rakefile +1 -1
- metadata +53 -53
- data/lib/propane-3.8.0.jar +0 -0
- data/src/main/java/monkstone/noise/Noise.java +0 -116
- data/src/main/java/monkstone/noise/NoiseGenerator.java +0 -63
- data/src/main/java/monkstone/noise/NoiseMode.java +0 -15
- data/src/main/java/monkstone/noise/SimplexNoise.java +0 -470
- data/src/main/java/monkstone/noise/ValueNoise.java +0 -170
@@ -14,6 +14,7 @@ import java.io.PrintWriter;
|
|
14
14
|
public interface TableRow {
|
15
15
|
|
16
16
|
/**
|
17
|
+
* @return
|
17
18
|
* @webref tablerow:method
|
18
19
|
* @brief Get an String value from the specified column
|
19
20
|
* @param column ID number of the column to reference
|
@@ -24,10 +25,12 @@ public interface TableRow {
|
|
24
25
|
|
25
26
|
/**
|
26
27
|
* @param columnName title of the column to reference
|
28
|
+
* @return
|
27
29
|
*/
|
28
30
|
public String getString(String columnName);
|
29
31
|
|
30
32
|
/**
|
33
|
+
* @return
|
31
34
|
* @webref tablerow:method
|
32
35
|
* @brief Get an integer value from the specified column
|
33
36
|
* @param column ID number of the column to reference
|
@@ -38,10 +41,12 @@ public interface TableRow {
|
|
38
41
|
|
39
42
|
/**
|
40
43
|
* @param columnName title of the column to reference
|
44
|
+
* @return
|
41
45
|
*/
|
42
46
|
public int getInt(String columnName);
|
43
47
|
|
44
48
|
/**
|
49
|
+
* @return
|
45
50
|
* @brief Get a long value from the specified column
|
46
51
|
* @param column ID number of the column to reference
|
47
52
|
* @see TableRow#getFloat(int)
|
@@ -52,10 +57,12 @@ public interface TableRow {
|
|
52
57
|
|
53
58
|
/**
|
54
59
|
* @param columnName title of the column to reference
|
60
|
+
* @return
|
55
61
|
*/
|
56
62
|
public long getLong(String columnName);
|
57
63
|
|
58
64
|
/**
|
65
|
+
* @return
|
59
66
|
* @webref tablerow:method
|
60
67
|
* @brief Get a float value from the specified column
|
61
68
|
* @param column ID number of the column to reference
|
@@ -66,10 +73,12 @@ public interface TableRow {
|
|
66
73
|
|
67
74
|
/**
|
68
75
|
* @param columnName title of the column to reference
|
76
|
+
* @return
|
69
77
|
*/
|
70
78
|
public float getFloat(String columnName);
|
71
79
|
|
72
80
|
/**
|
81
|
+
* @return
|
73
82
|
* @brief Get a double value from the specified column
|
74
83
|
* @param column ID number of the column to reference
|
75
84
|
* @see TableRow#getInt(int)
|
@@ -79,6 +88,7 @@ public interface TableRow {
|
|
79
88
|
|
80
89
|
/**
|
81
90
|
* @param columnName title of the column to reference
|
91
|
+
* @return
|
82
92
|
*/
|
83
93
|
public double getDouble(String columnName);
|
84
94
|
|
@@ -93,6 +103,7 @@ public interface TableRow {
|
|
93
103
|
public void setString(int column, String value);
|
94
104
|
/**
|
95
105
|
* @param columnName title of the target column
|
106
|
+
* @param value
|
96
107
|
*/
|
97
108
|
public void setString(String columnName, String value);
|
98
109
|
|
@@ -108,6 +119,7 @@ public interface TableRow {
|
|
108
119
|
|
109
120
|
/**
|
110
121
|
* @param columnName title of the target column
|
122
|
+
* @param value
|
111
123
|
*/
|
112
124
|
public void setInt(String columnName, int value);
|
113
125
|
|
@@ -122,6 +134,7 @@ public interface TableRow {
|
|
122
134
|
|
123
135
|
/**
|
124
136
|
* @param columnName title of the target column
|
137
|
+
* @param value
|
125
138
|
*/
|
126
139
|
public void setLong(String columnName, long value);
|
127
140
|
|
@@ -137,6 +150,7 @@ public interface TableRow {
|
|
137
150
|
|
138
151
|
/**
|
139
152
|
* @param columnName title of the target column
|
153
|
+
* @param value
|
140
154
|
*/
|
141
155
|
public void setFloat(String columnName, float value);
|
142
156
|
|
@@ -151,6 +165,7 @@ public interface TableRow {
|
|
151
165
|
|
152
166
|
/**
|
153
167
|
* @param columnName title of the target column
|
168
|
+
* @param value
|
154
169
|
*/
|
155
170
|
public void setDouble(String columnName, double value);
|
156
171
|
|
@@ -170,6 +185,7 @@ public interface TableRow {
|
|
170
185
|
|
171
186
|
/**
|
172
187
|
* @param column ID number of the target column
|
188
|
+
* @return
|
173
189
|
*/
|
174
190
|
public int getColumnType(int column);
|
175
191
|
|