assimp-ffi 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assimp/scene.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a4b9a586de8a34826f59124bc3f043ef78ea79e6f05e3ae9fb090468166ea2c
|
4
|
+
data.tar.gz: 6aa5ee1ebbc535d2890292ca09fc9efcd1e65819b9b8a486eb55cc32db710531
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 286a74e10cb5fb469802d01e37943d1f92be78799ea6e553e5f14ff91149fc280f94b318a6f9997c850c90ad41304bd902cc7217e3413a4cea5817534aa65c65
|
7
|
+
data.tar.gz: e902a3a604538322b53c1882ac4fd77e5d2fb5058b651b9a716ed0d978721ba0e38b23766e7e2413e9728f63b124d2401c0380a79a8db3cf65e7fe4ea2b8ef40
|
data/lib/assimp/scene.rb
CHANGED
@@ -42,7 +42,11 @@ module Assimp
|
|
42
42
|
end
|
43
43
|
|
44
44
|
def world_transformation
|
45
|
-
|
45
|
+
if parent
|
46
|
+
ancestors.reverse.collect(&:transformation).reduce(:*) * transformation
|
47
|
+
else
|
48
|
+
transformation
|
49
|
+
end
|
46
50
|
end
|
47
51
|
|
48
52
|
def parent=(other)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: assimp-ffi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brice Videau
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|