propane 3.4.2-java → 3.5.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/wrapper/MavenWrapperDownloader.java +1 -1
- data/.travis.yml +1 -1
- data/CHANGELOG.md +5 -1
- data/Gemfile +2 -0
- data/README.md +15 -3
- data/Rakefile +9 -10
- data/bin/propane +3 -1
- data/lib/propane.rb +2 -1
- data/lib/propane/app.rb +2 -1
- data/lib/propane/creators/sketch_class.rb +7 -1
- data/lib/propane/creators/sketch_factory.rb +4 -2
- data/lib/propane/creators/sketch_writer.rb +1 -0
- data/lib/propane/helper_methods.rb +22 -22
- data/lib/propane/helpers/numeric.rb +2 -0
- data/lib/propane/helpers/version_error.rb +1 -0
- data/lib/propane/library.rb +5 -1
- data/lib/propane/library_loader.rb +2 -0
- data/lib/propane/native_folder.rb +10 -9
- data/lib/propane/native_loader.rb +3 -0
- data/lib/propane/runner.rb +11 -5
- data/lib/propane/version.rb +2 -1
- data/library/boids/boids.rb +21 -11
- data/library/color_group/color_group.rb +2 -0
- data/library/control_panel/control_panel.rb +8 -5
- data/library/dxf/dxf.rb +2 -0
- data/library/file_chooser/chooser.rb +10 -9
- data/library/file_chooser/file_chooser.rb +10 -9
- data/library/library_proxy/library_proxy.rb +2 -0
- data/library/net/net.rb +2 -0
- data/library/simplex_noise/simplex_noise.rb +2 -0
- data/library/slider/slider.rb +23 -22
- data/library/vector_utils/vector_utils.rb +4 -0
- data/library/video_event/video_event.rb +2 -0
- data/pom.rb +46 -45
- data/pom.xml +4 -4
- data/propane.gemspec +8 -7
- data/src/main/java/monkstone/ColorUtil.java +1 -3
- data/src/main/java/monkstone/MathToolModule.java +1 -1
- data/src/main/java/monkstone/PropaneLibrary.java +2 -2
- data/src/main/java/monkstone/fastmath/Deglut.java +1 -1
- data/src/main/java/monkstone/filechooser/Chooser.java +1 -1
- data/src/main/java/monkstone/noise/SimplexNoise.java +2 -2
- 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 +1 -1
- data/src/main/java/monkstone/vecmath/package-info.java +1 -1
- data/src/main/java/monkstone/vecmath/vec2/Vec2.java +1 -1
- data/src/main/java/monkstone/vecmath/vec3/Vec3.java +1 -2
- 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 +788 -283
- data/src/main/java/processing/awt/PImageAWT.java +260 -0
- data/src/main/java/processing/awt/PShapeJava2D.java +56 -53
- data/src/main/java/processing/awt/PSurfaceAWT.java +309 -211
- data/src/main/java/processing/awt/ShimAWT.java +580 -0
- data/src/main/java/processing/core/PApplet.java +2877 -2098
- data/src/main/java/processing/core/PConstants.java +477 -447
- data/src/main/java/processing/core/PFont.java +930 -884
- data/src/main/java/processing/core/PGraphics.java +337 -309
- data/src/main/java/processing/core/PImage.java +1689 -1689
- data/src/main/java/processing/core/PMatrix.java +172 -159
- data/src/main/java/processing/core/PMatrix2D.java +456 -410
- data/src/main/java/processing/core/PMatrix3D.java +755 -735
- data/src/main/java/processing/core/PShape.java +2910 -2656
- data/src/main/java/processing/core/PShapeOBJ.java +97 -94
- data/src/main/java/processing/core/PShapeSVG.java +1656 -1462
- data/src/main/java/processing/core/PStyle.java +40 -37
- data/src/main/java/processing/core/PSurface.java +134 -97
- data/src/main/java/processing/core/PSurfaceNone.java +292 -218
- data/src/main/java/processing/core/PVector.java +991 -966
- data/src/main/java/processing/core/ThinkDifferent.java +12 -8
- data/src/main/java/processing/data/DoubleDict.java +756 -710
- data/src/main/java/processing/data/DoubleList.java +749 -696
- data/src/main/java/processing/data/FloatDict.java +748 -702
- data/src/main/java/processing/data/FloatList.java +751 -697
- data/src/main/java/processing/data/IntDict.java +720 -673
- data/src/main/java/processing/data/IntList.java +699 -633
- data/src/main/java/processing/data/JSONArray.java +931 -873
- data/src/main/java/processing/data/JSONObject.java +1262 -1165
- data/src/main/java/processing/data/JSONTokener.java +351 -341
- data/src/main/java/processing/data/LongDict.java +710 -663
- data/src/main/java/processing/data/LongList.java +701 -635
- data/src/main/java/processing/data/Sort.java +37 -41
- data/src/main/java/processing/data/StringDict.java +525 -486
- data/src/main/java/processing/data/StringList.java +626 -580
- data/src/main/java/processing/data/Table.java +3693 -3513
- data/src/main/java/processing/data/TableRow.java +182 -183
- data/src/main/java/processing/data/XML.java +954 -880
- data/src/main/java/processing/event/Event.java +87 -67
- data/src/main/java/processing/event/KeyEvent.java +48 -41
- data/src/main/java/processing/event/MouseEvent.java +87 -113
- data/src/main/java/processing/event/TouchEvent.java +10 -6
- data/src/main/java/processing/javafx/PSurfaceFX.java +26 -0
- data/src/main/java/processing/net/Client.java +20 -20
- data/src/main/java/processing/net/Server.java +9 -9
- data/src/main/java/processing/opengl/FontTexture.java +286 -266
- data/src/main/java/processing/opengl/FrameBuffer.java +390 -376
- data/src/main/java/processing/opengl/LinePath.java +130 -91
- data/src/main/java/processing/opengl/LineStroker.java +593 -582
- data/src/main/java/processing/opengl/PGL.java +645 -579
- data/src/main/java/processing/opengl/PGraphics2D.java +408 -315
- data/src/main/java/processing/opengl/PGraphics3D.java +107 -72
- data/src/main/java/processing/opengl/PGraphicsOpenGL.java +12287 -12030
- data/src/main/java/processing/opengl/PJOGL.java +1743 -1672
- data/src/main/java/processing/opengl/PShader.java +345 -416
- data/src/main/java/processing/opengl/PShapeOpenGL.java +4601 -4543
- data/src/main/java/processing/opengl/PSurfaceJOGL.java +1113 -1029
- data/src/main/java/processing/opengl/Texture.java +1489 -1401
- data/src/main/java/processing/opengl/VertexBuffer.java +57 -55
- data/test/create_test.rb +21 -20
- data/test/deglut_spec_test.rb +4 -2
- data/test/helper_methods_test.rb +49 -20
- data/test/math_tool_test.rb +39 -32
- data/test/native_folder.rb +47 -0
- data/test/respond_to_test.rb +3 -2
- data/test/sketches/key_event.rb +2 -2
- data/test/sketches/library/my_library/my_library.rb +3 -0
- data/test/test_helper.rb +2 -0
- data/test/vecmath_spec_test.rb +35 -22
- data/vendors/Rakefile +28 -22
- metadata +13 -13
- data/src/main/java/processing/opengl/shaders/LightVert-brcm.glsl +0 -154
- data/src/main/java/processing/opengl/shaders/LightVert-vc4.glsl +0 -154
- data/src/main/java/processing/opengl/shaders/TexLightVert-brcm.glsl +0 -160
- data/src/main/java/processing/opengl/shaders/TexLightVert-vc4.glsl +0 -160
data/test/respond_to_test.rb
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
+
|
2
3
|
require 'java'
|
3
4
|
require_relative 'test_helper'
|
4
5
|
require_relative '../lib/propane'
|
5
6
|
|
6
|
-
METHODS = %i
|
7
|
+
METHODS = %i[
|
7
8
|
alpha
|
8
9
|
ambient
|
9
10
|
ambient_light
|
@@ -182,7 +183,7 @@ METHODS = %i(
|
|
182
183
|
update_pixels
|
183
184
|
vertex
|
184
185
|
width
|
185
|
-
|
186
|
+
].freeze
|
186
187
|
|
187
188
|
class TestSketch < Propane::App
|
188
189
|
def settings
|
data/test/sketches/key_event.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
#!/usr/bin/env jruby
|
2
|
-
|
2
|
+
# frozen_string_literal: true
|
3
3
|
|
4
|
+
require 'propane'
|
4
5
|
|
5
6
|
class CustomProxySketch < Propane::App
|
6
|
-
|
7
7
|
# A simple demonstration of vanilla processing 'reflection' methods using
|
8
8
|
# propane :library_proxy. See my_library.rb code for the guts.
|
9
9
|
load_libraries :library_proxy, :my_library
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# This class demonstrates how by inheriting from the abstract class LibraryProxy
|
2
4
|
# we can access 'keyEvent' and 'draw' (Note we need a draw method even
|
3
5
|
# though can be empty)
|
@@ -20,6 +22,7 @@ class MyLibrary < LibraryProxy
|
|
20
22
|
def keyEvent(e) # NB: need camel case for reflection to work
|
21
23
|
return unless e.get_action == KeyEvent::PRESS
|
22
24
|
return if e.get_key > 122 # else we can't use :chr
|
25
|
+
|
23
26
|
case e.get_key.chr.upcase
|
24
27
|
when 'S'
|
25
28
|
app.send :hide, false
|
data/test/test_helper.rb
CHANGED
data/test/vecmath_spec_test.rb
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require_relative 'test_helper'
|
2
4
|
require 'java'
|
3
5
|
require_relative '../lib/propane'
|
4
6
|
|
5
7
|
Java::Monkstone::PropaneLibrary.load(JRuby.runtime)
|
6
8
|
|
7
|
-
|
8
9
|
Dir.chdir(File.dirname(__FILE__))
|
9
|
-
|
10
|
+
# Vecmath Test class
|
10
11
|
class VecmathTest < Minitest::Test
|
11
|
-
|
12
12
|
# duck for Vec2D constructor
|
13
13
|
Point = Struct.new(:x, :y)
|
14
14
|
# duck for Vec3D constructor
|
@@ -17,12 +17,11 @@ class VecmathTest < Minitest::Test
|
|
17
17
|
Pointless = Struct.new(:a, :b)
|
18
18
|
# non-duck to test fail
|
19
19
|
Pointless3 = Struct.new(:a, :b, :c)
|
20
|
-
def setup
|
21
|
-
|
22
|
-
end
|
20
|
+
def setup; end
|
23
21
|
|
24
22
|
def test_equals
|
25
|
-
x
|
23
|
+
x = 1.0000001
|
24
|
+
y = 1.01
|
26
25
|
a = Vec2D.new(x, y)
|
27
26
|
assert_equal(a.to_a, [x, y], 'Failed to return Vec2D as an Array')
|
28
27
|
end
|
@@ -34,7 +33,8 @@ class VecmathTest < Minitest::Test
|
|
34
33
|
end
|
35
34
|
|
36
35
|
def test_copy_equals
|
37
|
-
x
|
36
|
+
x = 1.0000001
|
37
|
+
y = 1.01
|
38
38
|
a = Vec2D.new(x, y)
|
39
39
|
b = a.copy
|
40
40
|
assert_equal(a.to_a, b.to_a, 'Failed deep copy')
|
@@ -47,20 +47,23 @@ class VecmathTest < Minitest::Test
|
|
47
47
|
end
|
48
48
|
|
49
49
|
def test_constructor_fixnum
|
50
|
-
|
50
|
+
# duck type fixnum
|
51
|
+
val = Point.new(1, 8)
|
51
52
|
expected = Vec2D.new(val)
|
52
53
|
assert_equal(expected, Vec2D.new(1.0, 8.0), 'Failed duck type constructor fixnum')
|
53
54
|
end
|
54
55
|
|
55
56
|
def test_failed_duck_type
|
56
|
-
|
57
|
+
# non duck type
|
58
|
+
val = Pointless.new(1.0, 8.0)
|
57
59
|
assert_raises TypeError do
|
58
60
|
Vec2D.new(val)
|
59
61
|
end
|
60
62
|
end
|
61
63
|
|
62
64
|
def test_copy_not_equals
|
63
|
-
x
|
65
|
+
x = 1.0000001
|
66
|
+
y = 1.01
|
64
67
|
a = Vec2D.new(x, y)
|
65
68
|
b = a.copy
|
66
69
|
b *= 0
|
@@ -121,7 +124,7 @@ class VecmathTest < Minitest::Test
|
|
121
124
|
|
122
125
|
def test_random
|
123
126
|
a = Vec2D.random
|
124
|
-
assert a.
|
127
|
+
assert a.is_a? Vec2D
|
125
128
|
assert_in_epsilon(a.mag, 1.0)
|
126
129
|
end
|
127
130
|
|
@@ -133,7 +136,7 @@ class VecmathTest < Minitest::Test
|
|
133
136
|
|
134
137
|
def test_mag
|
135
138
|
a = Vec2D.new(-3, -4)
|
136
|
-
assert_in_epsilon(a.mag, 5, 0.001,'Failed to return magnitude of vector')
|
139
|
+
assert_in_epsilon(a.mag, 5, 0.001, 'Failed to return magnitude of vector')
|
137
140
|
end
|
138
141
|
|
139
142
|
def test_mag_variant
|
@@ -233,14 +236,16 @@ class VecmathTest < Minitest::Test
|
|
233
236
|
end
|
234
237
|
|
235
238
|
def test_rotate
|
236
|
-
x
|
239
|
+
x = 20
|
240
|
+
y = 10
|
237
241
|
b = Vec2D.new(x, y)
|
238
242
|
a = b.rotate(Math::PI / 2)
|
239
243
|
assert_equal(a, Vec2D.new(-10, 20), 'Failed to rotate vector by scalar radians')
|
240
244
|
end
|
241
245
|
|
242
246
|
def test_hash_index
|
243
|
-
x
|
247
|
+
x = 10
|
248
|
+
y = 20
|
244
249
|
b = Vec2D.new(x, y)
|
245
250
|
assert_equal(b[:x], x, 'Failed to hash index')
|
246
251
|
end
|
@@ -275,7 +280,7 @@ class VecmathTest < Minitest::Test
|
|
275
280
|
a = Vec2D.new(200, 0)
|
276
281
|
b = Vec2D.new(0, 200)
|
277
282
|
# Expected result is an area, twice that of the triangle created by the vectors
|
278
|
-
assert_equal(
|
283
|
+
assert_equal(a.cross(b).abs, 40_000.0, 'Failed area test using 2D vector cross product')
|
279
284
|
end
|
280
285
|
|
281
286
|
def test_cross_non_zero # Could be used to calculate area of triangle
|
@@ -294,7 +299,9 @@ class VecmathTest < Minitest::Test
|
|
294
299
|
end
|
295
300
|
|
296
301
|
def test_equals3
|
297
|
-
x
|
302
|
+
x = 1.0000001
|
303
|
+
y = 1.01
|
304
|
+
z = 0.0
|
298
305
|
a = Vec3D.new(x, y)
|
299
306
|
assert_equal(a.to_a, [x, y, z], 'Failed to return Vec3D as an Array')
|
300
307
|
end
|
@@ -325,14 +332,18 @@ class VecmathTest < Minitest::Test
|
|
325
332
|
end
|
326
333
|
|
327
334
|
def test_copy_equals3
|
328
|
-
x
|
335
|
+
x = 1.0000001
|
336
|
+
y = 1.01
|
337
|
+
z = 1
|
329
338
|
a = Vec3D.new(x, y, z)
|
330
339
|
b = a.copy
|
331
340
|
assert_equal(a.to_a, b.to_a, 'Failed deep copy')
|
332
341
|
end
|
333
342
|
|
334
343
|
def test_copy_not_equals3
|
335
|
-
x
|
344
|
+
x = 1.0000001
|
345
|
+
y = 1.01
|
346
|
+
z = 6.0
|
336
347
|
a = Vec3D.new(x, y, z)
|
337
348
|
b = a.copy
|
338
349
|
b *= 0
|
@@ -377,13 +388,13 @@ class VecmathTest < Minitest::Test
|
|
377
388
|
|
378
389
|
def test_random3
|
379
390
|
a = Vec3D.random
|
380
|
-
assert a.
|
391
|
+
assert a.is_a? Vec3D
|
381
392
|
assert_in_epsilon(a.mag, 1.0)
|
382
393
|
end
|
383
394
|
|
384
395
|
def test_assign_value3
|
385
396
|
a = Vec3D.new(3, 5)
|
386
|
-
a.x=23
|
397
|
+
a.x = 23
|
387
398
|
assert_equal(a.x, 23, 'Failed to assign x value')
|
388
399
|
end
|
389
400
|
|
@@ -512,7 +523,9 @@ class VecmathTest < Minitest::Test
|
|
512
523
|
end
|
513
524
|
|
514
525
|
def test_hash_key3
|
515
|
-
x
|
526
|
+
x = 10
|
527
|
+
y = 20
|
528
|
+
z = 50
|
516
529
|
b = Vec3D.new(x, y, z)
|
517
530
|
assert_equal(b[:x], x, 'Failed hash key access')
|
518
531
|
assert_equal(b[:y], y, 'Failed hash key access')
|
data/vendors/Rakefile
CHANGED
@@ -1,18 +1,19 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
+
|
2
3
|
require 'rake/clean'
|
3
4
|
|
4
|
-
WARNING = <<-
|
5
|
+
WARNING = <<-WGET
|
5
6
|
WARNING: you may not have wget installed, you could just download
|
6
7
|
the correct version of propane-examples (see EXAMPLES vendors directory)
|
7
|
-
|
8
|
-
SOUND = 'sound.zip'
|
8
|
+
WGET
|
9
|
+
SOUND = 'sound.zip'
|
9
10
|
SOUND_VERSION = 'v1.3.2' # version 1.3.2
|
10
11
|
GLVIDEO = 'processing-glvideo.zip'
|
11
12
|
VIDEO = 'video-2.0-beta4.zip'
|
12
13
|
VIDEO_VERSION = 'r6-v2.0-beta4'
|
13
|
-
EXAMPLES = '2.
|
14
|
+
EXAMPLES = '2.8'
|
14
15
|
HOME_DIR = ENV['HOME']
|
15
|
-
MAC_OR_LINUX = /linux|mac|darwin
|
16
|
+
MAC_OR_LINUX = /linux|mac|darwin/.match?(RbConfig::CONFIG['host_os'])
|
16
17
|
|
17
18
|
CLOBBER.include(EXAMPLES, SOUND, GLVIDEO, VIDEO)
|
18
19
|
|
@@ -20,7 +21,7 @@ desc 'download, and copy propane examples'
|
|
20
21
|
task default: [:download_and_copy_samples]
|
21
22
|
|
22
23
|
desc 'download and copy examples to user home'
|
23
|
-
task download_and_copy_samples: [
|
24
|
+
task download_and_copy_samples: %i[download_examples copy_examples]
|
24
25
|
|
25
26
|
task :download_examples
|
26
27
|
file_name = MAC_OR_LINUX.nil? ? "#{EXAMPLES}.zip" : "#{EXAMPLES}.tar.gz"
|
@@ -29,16 +30,16 @@ wget_string = [wget_base, 'archive', file_name].join('/')
|
|
29
30
|
file file_name do
|
30
31
|
begin
|
31
32
|
sh wget_string
|
32
|
-
rescue
|
33
|
+
rescue StandardError
|
33
34
|
warn(WARNING)
|
34
35
|
end
|
35
36
|
end
|
36
37
|
|
37
38
|
desc 'download and copy sound library to ~/.propane'
|
38
|
-
task download_and_copy_sound: [
|
39
|
+
task download_and_copy_sound: %i[init_dir download_sound copy_sound clobber]
|
39
40
|
|
40
41
|
desc 'download and copy video library to ~/.propane'
|
41
|
-
task download_and_copy_video: [
|
42
|
+
task download_and_copy_video: %i[init_dir download_video copy_video clobber]
|
42
43
|
|
43
44
|
desc 'download sound library'
|
44
45
|
task :download_sound do
|
@@ -46,7 +47,7 @@ task :download_sound do
|
|
46
47
|
wget_string = [wget_base, 'releases/download', SOUND_VERSION, SOUND].join('/')
|
47
48
|
begin
|
48
49
|
sh wget_string
|
49
|
-
rescue
|
50
|
+
rescue StandardError
|
50
51
|
warn(WARNING)
|
51
52
|
end
|
52
53
|
end
|
@@ -57,7 +58,7 @@ task :download_video do
|
|
57
58
|
wget_string = [wget_base, 'releases/download', VIDEO_VERSION, VIDEO].join('/')
|
58
59
|
begin
|
59
60
|
sh wget_string
|
60
|
-
rescue
|
61
|
+
rescue StandardError
|
61
62
|
warn(WARNING)
|
62
63
|
end
|
63
64
|
end
|
@@ -65,39 +66,44 @@ end
|
|
65
66
|
desc 'initialize ~/.propane directories'
|
66
67
|
task :init_dir do
|
67
68
|
unless File.exist? "#{HOME_DIR}/.propane/libraries"
|
68
|
-
sh
|
69
|
-
sh
|
69
|
+
sh 'mkdir -p ~/.propane'
|
70
|
+
sh 'mkdir -p ~/.propane/libraries'
|
70
71
|
end
|
71
72
|
end
|
72
73
|
|
73
|
-
|
74
74
|
desc 'copy examples'
|
75
|
-
task :
|
75
|
+
task copy_examples: file_name do
|
76
76
|
if MAC_OR_LINUX.nil?
|
77
77
|
sh "unzip #{EXAMPLES}.zip"
|
78
78
|
else
|
79
79
|
sh "tar xzvf #{EXAMPLES}.tar.gz"
|
80
80
|
end
|
81
|
-
|
81
|
+
if File.exist? "#{HOME_DIR}/propane_samples"
|
82
|
+
sh "rm -r #{HOME_DIR}/propane_samples"
|
83
|
+
end
|
82
84
|
sh "cp -r propane-examples-#{EXAMPLES} #{HOME_DIR}/propane_samples"
|
83
85
|
sh "rm -r propane-examples-#{EXAMPLES}"
|
84
86
|
end
|
85
87
|
|
86
88
|
desc 'copy sound library'
|
87
|
-
task :
|
88
|
-
directory
|
89
|
-
directory
|
89
|
+
task copy_sound: SOUND do
|
90
|
+
directory '~/.propane'
|
91
|
+
directory '~/.propane/libraries'
|
90
92
|
sh "unzip #{SOUND}"
|
91
|
-
|
93
|
+
if File.exist? "#{HOME_DIR}/.propane/libraries/sound"
|
94
|
+
sh "rm -r #{HOME_DIR}/.propane/libraries/sound"
|
95
|
+
end
|
92
96
|
sh "cp -r sound #{HOME_DIR}/.propane/libraries"
|
93
97
|
sh 'rm -r sound'
|
94
98
|
sh 'rm -r __MACOSX'
|
95
99
|
end
|
96
100
|
|
97
101
|
desc 'copy video library'
|
98
|
-
task :
|
102
|
+
task copy_video: VIDEO do
|
99
103
|
sh "unzip #{VIDEO}"
|
100
|
-
|
104
|
+
if File.exist? "#{HOME_DIR}/.propane/libraries/video"
|
105
|
+
sh "rm -r #{HOME_DIR}/.propane/libraries/video"
|
106
|
+
end
|
101
107
|
sh "cp -r video #{HOME_DIR}/.propane/libraries/video"
|
102
108
|
sh 'rm -r video'
|
103
109
|
end
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: propane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.5.0
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- monkstone
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: minitest
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '5.11'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '5.11'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '12.3'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '12.3'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: arcball
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -91,7 +91,7 @@ files:
|
|
91
91
|
- lib/jogl-all-natives-macosx-universal.jar
|
92
92
|
- lib/jogl-all-natives-windows-amd64.jar
|
93
93
|
- lib/jogl-all.jar
|
94
|
-
- lib/propane-3.
|
94
|
+
- lib/propane-3.5.0.jar
|
95
95
|
- lib/propane.rb
|
96
96
|
- lib/propane/app.rb
|
97
97
|
- lib/propane/creators/sketch_class.rb
|
@@ -156,8 +156,10 @@ files:
|
|
156
156
|
- src/main/java/monkstone/videoevent/MovieEvent.java
|
157
157
|
- src/main/java/monkstone/videoevent/package-info.java
|
158
158
|
- src/main/java/processing/awt/PGraphicsJava2D.java
|
159
|
+
- src/main/java/processing/awt/PImageAWT.java
|
159
160
|
- src/main/java/processing/awt/PShapeJava2D.java
|
160
161
|
- src/main/java/processing/awt/PSurfaceAWT.java
|
162
|
+
- src/main/java/processing/awt/ShimAWT.java
|
161
163
|
- src/main/java/processing/core/PApplet.java
|
162
164
|
- src/main/java/processing/core/PConstants.java
|
163
165
|
- src/main/java/processing/core/PFont.java
|
@@ -224,8 +226,6 @@ files:
|
|
224
226
|
- src/main/java/processing/opengl/shaders/ColorFrag.glsl
|
225
227
|
- src/main/java/processing/opengl/shaders/ColorVert.glsl
|
226
228
|
- src/main/java/processing/opengl/shaders/LightFrag.glsl
|
227
|
-
- src/main/java/processing/opengl/shaders/LightVert-brcm.glsl
|
228
|
-
- src/main/java/processing/opengl/shaders/LightVert-vc4.glsl
|
229
229
|
- src/main/java/processing/opengl/shaders/LightVert.glsl
|
230
230
|
- src/main/java/processing/opengl/shaders/LineFrag.glsl
|
231
231
|
- src/main/java/processing/opengl/shaders/LineVert.glsl
|
@@ -234,8 +234,6 @@ files:
|
|
234
234
|
- src/main/java/processing/opengl/shaders/PointVert.glsl
|
235
235
|
- src/main/java/processing/opengl/shaders/TexFrag.glsl
|
236
236
|
- src/main/java/processing/opengl/shaders/TexLightFrag.glsl
|
237
|
-
- src/main/java/processing/opengl/shaders/TexLightVert-brcm.glsl
|
238
|
-
- src/main/java/processing/opengl/shaders/TexLightVert-vc4.glsl
|
239
237
|
- src/main/java/processing/opengl/shaders/TexLightVert.glsl
|
240
238
|
- src/main/java/processing/opengl/shaders/TexVert.glsl
|
241
239
|
- src/main/resources/icon/icon-1024.png
|
@@ -251,6 +249,7 @@ files:
|
|
251
249
|
- test/deglut_spec_test.rb
|
252
250
|
- test/helper_methods_test.rb
|
253
251
|
- test/math_tool_test.rb
|
252
|
+
- test/native_folder.rb
|
254
253
|
- test/respond_to_test.rb
|
255
254
|
- test/sketches/key_event.rb
|
256
255
|
- test/sketches/library/my_library/my_library.rb
|
@@ -288,6 +287,7 @@ test_files:
|
|
288
287
|
- test/deglut_spec_test.rb
|
289
288
|
- test/helper_methods_test.rb
|
290
289
|
- test/math_tool_test.rb
|
290
|
+
- test/native_folder.rb
|
291
291
|
- test/respond_to_test.rb
|
292
292
|
- test/sketches/key_event.rb
|
293
293
|
- test/sketches/library/my_library/my_library.rb
|