csg 0.1.5 → 0.1.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/src/stl.c +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 48f706f7b7f7868b5db7069c22456011b1d0c97d
|
|
4
|
+
data.tar.gz: fb783c8b4aca1a5985d5ec8435728b26e2f355ad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e6cff5ba0b46919754eb91e825abaddf3c6752d228a24aba79ff18a3a99d49939dc445ce3ce08f2bc9bf9331a7813ea042f781be8f3ae233df181cc82a1f5c7f
|
|
7
|
+
data.tar.gz: 68bf211efc550e65b49cbfeabd98ec0e6236ea8eb2b07d291a59de1efe05ece5dc9ffab33f0735190293043cd6c6e00c5007d55550b7fcf70224d85ec76898bb
|
data/src/stl.c
CHANGED
|
@@ -197,8 +197,8 @@ stl_object *stl_read_object(int fd) {
|
|
|
197
197
|
|
|
198
198
|
// Do we have a file that supports that size?
|
|
199
199
|
check(fd_stat.st_size == req_size,
|
|
200
|
-
"File at fd(%d) is %
|
|
201
|
-
fd, fd_stat.st_size, req_size, n_tris);
|
|
200
|
+
"File at fd(%d) is %lld bytes, needs to be %zd bytes for %u facets.",
|
|
201
|
+
fd, (long long)fd_stat.st_size, req_size, n_tris);
|
|
202
202
|
|
|
203
203
|
// Allocate space for the object we know we can hold
|
|
204
204
|
obj = stl_alloc(header, n_tris);
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: csg
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yaroslav Shirokov
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2018-11-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: ffi
|
|
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
83
83
|
version: '0'
|
|
84
84
|
requirements: []
|
|
85
85
|
rubyforge_project:
|
|
86
|
-
rubygems_version: 2.
|
|
86
|
+
rubygems_version: 2.6.14.3
|
|
87
87
|
signing_key:
|
|
88
88
|
specification_version: 4
|
|
89
89
|
summary: A fast library for Constructive Solid Geometry
|