-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
53 lines (36 loc) · 1.39 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
NAME
Chipmunk - 2D physics library
VERSION
version 0.000001
SYNOPSIS
use Chipmunk qw(:all);
DESCRIPTION
Perl bindings for the Chipmunk Physics library.
METHODS
enable_segment_to_segment_collisions
Arguments: none
Return value: not defined
Chipmunk didn't support segment/segment collisions until v6.1.2. For
compatibility reasons, you must explicitly and globally enable them.
enable_segment_to_segment_collisions();
reset_shape_id_counter
Arguments: none
Return value: not defined
Chipmunk keeps a counter so that every new shape is given a unique hash
value to be used in the spatial index. Because this affects the order in
which the collisions are found and handled, you can reset the shape
counter every time you populate a space with new shapes. If you don't,
there might be (very) slight differences in the simulation.
reset_shape_id_counter();
NOTICE
The documentation is taken from Chipmunk2D
<http://chipmunk-physics.net/release/ChipmunkLatest-Docs/>
Copyright (c) 2007-2013 Scott Lembcke and Howling Moon Software
SEE ALSO
Chipmunk2D Physics <http://chipmunk-physics.net/>, Alien::Chipmunk
AUTHOR
Jeffrey T. Palmer <jtpalmer@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2013 by Jeffrey T. Palmer.
This is free software, licensed under:
The MIT (X11) License