chipmunk 6.1.3.0 → 6.1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/chipmunk/rb_cpSpace.c +7 -8
- 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: 9ea271adeb0a82c85bff2b1ae8c852d32f60b9b0
|
4
|
+
data.tar.gz: a84571ad9ddfb386841bedd5e8a681411bdbcb94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5db240fec94b54de919fe37953a6704863fe7e36dc2b1b1ea4117586c03def3d0c359a2cd7054b3743dd1cf419951b4d597dd09acb6de99166308c826b1ebe88
|
7
|
+
data.tar.gz: 2031e2684ed15bb857c7d7d6b8cbc433e6baec12e1defb9ba7b09538a1ca097111aa0e30e994eeb93435f4f4427be232dedaf661f34723c7a5a0529190730391
|
data/ext/chipmunk/rb_cpSpace.c
CHANGED
@@ -416,16 +416,14 @@ rb_cpSpaceResizeActiveHash(VALUE self, VALUE dim, VALUE count) {
|
|
416
416
|
}
|
417
417
|
|
418
418
|
static VALUE
|
419
|
-
|
420
|
-
|
421
|
-
/* cpSpaceRehashStatic(SPACE(self)); */
|
419
|
+
rb_cpSpaceReindexStatic(VALUE self) {
|
420
|
+
cpSpaceReindexStatic(SPACE(self));
|
422
421
|
return Qnil;
|
423
422
|
}
|
424
423
|
|
425
424
|
static VALUE
|
426
|
-
|
427
|
-
|
428
|
-
/* cpSpaceRehashShape(SPACE(self), SHAPE(shape)); */
|
425
|
+
rb_cpSpaceReindexShape(VALUE self, VALUE shape) {
|
426
|
+
cpSpaceReindexShape(SPACE(self), SHAPE(shape));
|
429
427
|
return Qnil;
|
430
428
|
}
|
431
429
|
|
@@ -644,8 +642,9 @@ Init_cpSpace(void) {
|
|
644
642
|
|
645
643
|
rb_define_method(c_cpSpace, "resize_static_hash", rb_cpSpaceResizeStaticHash, 2);
|
646
644
|
rb_define_method(c_cpSpace, "resize_active_hash", rb_cpSpaceResizeActiveHash, 2);
|
647
|
-
|
648
|
-
rb_define_method(c_cpSpace, "
|
645
|
+
|
646
|
+
rb_define_method(c_cpSpace, "reindex_static", rb_cpSpaceReindexStatic, 0);
|
647
|
+
rb_define_method(c_cpSpace, "reindex_shape", rb_cpSpaceReindexShape, 1);
|
649
648
|
|
650
649
|
rb_define_method(c_cpSpace, "point_query", rb_cpSpacePointQuery, -1);
|
651
650
|
rb_define_method(c_cpSpace, "point_query_first", rb_cpSpacePointQueryFirst, -1);
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chipmunk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.1.3.
|
4
|
+
version: 6.1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Lembcke, Beoran, John Mair (banisterfiend), Shawn Anderson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: 'Enhanced ruby bindings for the chipmunk 5.3.4 game physics engine. '
|
14
14
|
email: beoran@rubyforge.org
|