projects
/
python-bulletml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added tag Version 2 for changeset 2434bd2cc678
[python-bulletml.git]
/
bulletml
/
__init__.py
diff --git
a/bulletml/__init__.py
b/bulletml/__init__.py
index
8ab4ec2
..
62a1d04
100644
(file)
--- a/
bulletml/__init__.py
+++ b/
bulletml/__init__.py
@@
-9,6
+9,11
@@
renderer-agnostic.
In addition to the standard BulletML XML format, this module supports
an equivalent YAML format. See bulletml.bulletyaml for more details.
In addition to the standard BulletML XML format, this module supports
an equivalent YAML format. See bulletml.bulletyaml for more details.
+Finally, three simple collision routines are provided:
+bulletml.overlaps for stationary circles, bulletml.collides for moving
+circles, and bulletml.collides_all for one moving circle against many
+moving circles.
+
More information is available at the BulletML homepage,
http://www.asahi-net.or.jp/~cs8k-cyu/bulletml/index_e.html, or the
python-bullet homepage, http://code.google.com/p/python-bulletml/.
More information is available at the BulletML homepage,
http://www.asahi-net.or.jp/~cs8k-cyu/bulletml/index_e.html, or the
python-bullet homepage, http://code.google.com/p/python-bulletml/.
@@
-33,9
+38,11
@@
attributes that can be used to influence it.
from bulletml.parser import BulletML
from bulletml.impl import Bullet
from bulletml.parser import BulletML
from bulletml.impl import Bullet
+from bulletml.collision import overlaps, collides, collides_all
-VERSION = (
0, 1
)
+VERSION = (
2,
)
VERSION_STRING = ".".join(map(str, VERSION))
VERSION_STRING = ".".join(map(str, VERSION))
-__all__ = ["VERSION", "VERSION_STRING", "Bullet", "BulletML"]
+__all__ = ["VERSION", "VERSION_STRING", "Bullet", "BulletML",
+ "overlaps", "collides", "collides_all"]