Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/elements/locals.py
diff options
context:
space:
mode:
authorGary Martin <gary@garycmartin.com>2012-10-24 00:40:54 (GMT)
committer Gary Martin <gary@garycmartin.com>2012-10-24 00:40:54 (GMT)
commitdb517f0b40c441158203d69aa34627058f2ab2e9 (patch)
tree3416eca5bca558b995d9c8feff24d76b18e3430f /elements/locals.py
parente6cff9307917aa97019785c32fbf0e412ba0e7ea (diff)
Use recent versions of Box2D and elements and ARM platform compatibility.
The version of Box2D and elements as used by the current version of Physics has been migrated over into Bridge and the old versions removed. The Elements egg needed some minor patches for a function used in Bridge hence the change in name to Elements-0.13-py2.5-bridge.egg. The binary blob paths are appended to the system path rather than inserted as the first choice so that builds that included newer versions of Box2d, or versions build for different architectures, will still work (tested on ARM XO-1.75 and XO-4 platforms). Due to the change in Elements/Box2D api some additional code changes were necessary, particularly the calculations in Bridge.py for calculating the joint stress on the rivits.
Diffstat (limited to 'elements/locals.py')
-rwxr-xr-xelements/locals.py37
1 files changed, 0 insertions, 37 deletions
diff --git a/elements/locals.py b/elements/locals.py
deleted file mode 100755
index 85528f7..0000000
--- a/elements/locals.py
+++ /dev/null
@@ -1,37 +0,0 @@
-"""
-This file is part of the 'Elements' Project
-Elements is a 2D Physics API for Python (supporting Box2D2)
-
-Copyright (C) 2008, The Elements Team, <elements@linuxuser.at>
-
-Home: http://elements.linuxuser.at
-IRC: #elements on irc.freenode.org
-
-Code: http://www.assembla.com/wiki/show/elements
- svn co http://svn2.assembla.com/svn/elements
-
-License: GPLv3 | See LICENSE for the full text
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-"""
-INPUT_METERS = 0
-INPUT_PIXELS = 1
-
-CALLBACK_CONTACT_ADD = 0
-CALLBACK_CONTACT_PERSIST = 1
-CALLBACK_CONTACT_REMOVE = 2
-
-CALLBACK_DRAWING_START = 3
-CALLBACK_DRAWING_END = 4
-
-FLT_EPSILON = 1.192092896e-07