csg 0.1.0 → 0.1.1
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 +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: 784943c8c9eb32a649a7ba5e7a790a3d4259f1c3
|
|
4
|
+
data.tar.gz: 96875e39ffda6fdfc89abcc3996074f28d0488bc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7809b5e3ae350514a021cd6ef5a1f675a18f09a842179ea159e6fff8186b6ef5d20ffb43f6098336604d1bef055b74f33a8caafe4b5e7882ea2d961b416267c4
|
|
7
|
+
data.tar.gz: 896000a3d67966e67ea9ac8e2a715f529415ac5d75c4374351d5e7e6d9f63f69b1b8f3dc7f8b94a61dc26c24febad555ab35683f2ecb66f8efe8b9cec956c3e9
|
data/src/stl.c
CHANGED
|
@@ -359,7 +359,7 @@ int stl_mesh_poly_count(void *self) {
|
|
|
359
359
|
klist_t(poly)* stl_mesh_to_polygons(void *self) {
|
|
360
360
|
stl_mesh_t *mesh = (stl_mesh_t*)self;
|
|
361
361
|
int count = mesh->_(poly_count)(mesh);
|
|
362
|
-
klist_t(poly)* polys =
|
|
362
|
+
klist_t(poly)* polys = kl_init(poly);
|
|
363
363
|
|
|
364
364
|
for(int i = 0; i < count; i++) {
|
|
365
365
|
poly_t *poly = poly_make_triangle(mesh->stl->facets[i].vertices[0],
|
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.1
|
|
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: 2013-12-
|
|
12
|
+
date: 2013-12-11 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: ffi
|