pixo 0.2.5 → 0.2.6
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/exe/pixo +5 -3
- data/ext/pixo/pixlib/src/renderer.cpp +0 -3
- data/lib/pixo/application.rb +1 -0
- data/lib/pixo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75fb2c5c0651d7735b03609db63ad188253e78a9
|
4
|
+
data.tar.gz: db5e21e1f9965f1c1f7c3a530666232e9e8d9ba4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0426b2618eee3d91704d99e61bf4747d5f42c0f1aa2f1927989a8885d726b83ad8675e7bb3525588326cc0f1f0b0caf1536345551ad88b1987bc7e405ac2f95a
|
7
|
+
data.tar.gz: 2052de8af02515ebc49206fcb22855c61b5919f1ed9e5b60424e5f1a80f4df9ad3d7e4bddcc258f216e642837b88bb7c6703bf686d704fd7f57c591497f3e1da
|
data/Gemfile.lock
CHANGED
data/exe/pixo
CHANGED
@@ -3,11 +3,13 @@
|
|
3
3
|
require 'pixo'
|
4
4
|
require 'pixo/application'
|
5
5
|
|
6
|
+
app = Pixo::Application.instance
|
6
7
|
|
7
8
|
service_thread = Thread.new do
|
8
|
-
sleep 0.1
|
9
9
|
Pixo::Ipc::Service.new(STDIN, STDOUT).run
|
10
|
-
|
10
|
+
app.shutdown
|
11
11
|
end
|
12
|
+
Signal.trap('INT') { app.shutdown }
|
13
|
+
Signal.trap('TERM') { app.shutdown }
|
12
14
|
|
13
|
-
|
15
|
+
app.run
|
@@ -23,7 +23,6 @@ namespace Pixlib {
|
|
23
23
|
|
24
24
|
out vec2 TexCoords;
|
25
25
|
out vec3 Normal;
|
26
|
-
out vec4 Position;
|
27
26
|
|
28
27
|
uniform mat4 view;
|
29
28
|
uniform mat4 projection;
|
@@ -35,7 +34,6 @@ namespace Pixlib {
|
|
35
34
|
gl_Position = projection * view * positionOffset * vec4(position, 1.0f);
|
36
35
|
TexCoords = texCoords + texCoordsOffset;
|
37
36
|
Normal = normal;
|
38
|
-
Position = positionOffset*vec4(position, 1.0f);
|
39
37
|
})",
|
40
38
|
R"(#version 330 core
|
41
39
|
|
@@ -44,7 +42,6 @@ namespace Pixlib {
|
|
44
42
|
#endif
|
45
43
|
|
46
44
|
in vec2 TexCoords;
|
47
|
-
in vec3 Position;
|
48
45
|
|
49
46
|
out vec4 color;
|
50
47
|
|
data/lib/pixo/application.rb
CHANGED
data/lib/pixo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pixo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Constantine
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|