Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 54 lines (36 sloc) 1.422 kB
5046d90 @jtpalmer Update readme
authored
1 NAME
2 Chipmunk - 2D physics library
62b4b20 @jtpalmer Update readme
authored
3
5046d90 @jtpalmer Update readme
authored
4 VERSION
5 version 0.000001
62b4b20 @jtpalmer Update readme
authored
6
5046d90 @jtpalmer Update readme
authored
7 SYNOPSIS
25b5566 @jtpalmer Tiny doc change
authored
8 use Chipmunk qw(:all);
62b4b20 @jtpalmer Update readme
authored
9
5046d90 @jtpalmer Update readme
authored
10 DESCRIPTION
11 Perl bindings for the Chipmunk Physics library.
12
a279a8b @jtpalmer Update readme
authored
13 METHODS
b01ad4d @jtpalmer Add more docs
authored
14 enable_segment_to_segment_collisions
15 Arguments: none
16 Return value: not defined
17
18 Chipmunk didn't support segment/segment collisions until v6.1.2. For
19 compatibility reasons, you must explicitly and globally enable them.
20
21 enable_segment_to_segment_collisions();
22
8bcd073 @jtpalmer Update readme
authored
23 reset_shape_id_counter
b01ad4d @jtpalmer Add more docs
authored
24 Arguments: none
25 Return value: not defined
26
27 Chipmunk keeps a counter so that every new shape is given a unique hash
28 value to be used in the spatial index. Because this affects the order in
29 which the collisions are found and handled, you can reset the shape
30 counter every time you populate a space with new shapes. If you don't,
31 there might be (very) slight differences in the simulation.
32
33 reset_shape_id_counter();
34
35 NOTICE
36 The documentation is taken from Chipmunk2D
37 <http://chipmunk-physics.net/release/ChipmunkLatest-Docs/>
38
39 Copyright (c) 2007-2013 Scott Lembcke and Howling Moon Software
40
38389ee @jtpalmer Add "see also"
authored
41 SEE ALSO
8bcd073 @jtpalmer Update readme
authored
42 Chipmunk2D Physics <http://chipmunk-physics.net/>, Alien::Chipmunk
38389ee @jtpalmer Add "see also"
authored
43
5046d90 @jtpalmer Update readme
authored
44 AUTHOR
45 Jeffrey T. Palmer <jtpalmer@cpan.org>
46
47 COPYRIGHT AND LICENSE
20a4db3 @jtpalmer Bump copyright year
authored
48 This software is Copyright (c) 2013 by Jeffrey T. Palmer.
5046d90 @jtpalmer Update readme
authored
49
50 This is free software, licensed under:
51
52 The MIT (X11) License
62b4b20 @jtpalmer Update readme
authored
53
Something went wrong with that request. Please try again.