Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
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 <firstname.lastname@example.org> COPYRIGHT AND LICENSE This software is Copyright (c) 2013 by Jeffrey T. Palmer. This is free software, licensed under: The MIT (X11) License