opal-js_wrap-three 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/CHANGELOG.md +5 -0
- data/Rakefile +7 -1
- data/babel.config.json +10 -0
- data/examples/clipping_intersection/Gemfile +9 -0
- data/examples/clipping_intersection/example.rb +68 -0
- data/examples/clipping_intersection/run.sh +3 -0
- data/examples/gltf_loader/Gemfile +9 -0
- data/examples/gltf_loader/example.rb +78 -0
- data/examples/gltf_loader/run.sh +3 -0
- data/examples/readme/example.rb +1 -1
- data/lib/opal/js_wrap/three/version.rb +1 -1
- data/lib-opal/js_wrap/three/three.js +25 -18
- data/lib-opal/js_wrap/three.rb +28 -1
- data/lib-opal/js_wrap.rb +18 -4
- data/opal-js_wrap-three.gemspec +1 -1
- data/package-lock.json +462 -59
- data/package.json +1 -0
- data/rollup.config.js +1 -0
- data/src/three.mjs +2 -2
- metadata +10 -3
data/package.json
CHANGED
data/rollup.config.js
CHANGED
data/src/three.mjs
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
import * as
|
1
|
+
import * as THREE from 'three';
|
2
2
|
|
3
|
-
globalThis.
|
3
|
+
globalThis.THREE = globalThis.three = THREE;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opal-js_wrap-three
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- hmdne
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opal
|
@@ -40,8 +40,15 @@ files:
|
|
40
40
|
- LICENSE.txt
|
41
41
|
- README.md
|
42
42
|
- Rakefile
|
43
|
+
- babel.config.json
|
43
44
|
- bin/console
|
44
45
|
- bin/setup
|
46
|
+
- examples/clipping_intersection/Gemfile
|
47
|
+
- examples/clipping_intersection/example.rb
|
48
|
+
- examples/clipping_intersection/run.sh
|
49
|
+
- examples/gltf_loader/Gemfile
|
50
|
+
- examples/gltf_loader/example.rb
|
51
|
+
- examples/gltf_loader/run.sh
|
45
52
|
- examples/readme/Gemfile
|
46
53
|
- examples/readme/example.rb
|
47
54
|
- examples/readme/run.sh
|
@@ -70,7 +77,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
70
77
|
requirements:
|
71
78
|
- - ">="
|
72
79
|
- !ruby/object:Gem::Version
|
73
|
-
version: 2.
|
80
|
+
version: 2.6.0
|
74
81
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
82
|
requirements:
|
76
83
|
- - ">="
|