X-Git-Url: https://git.yukkurigames.com/?p=python-bulletml.git;a=blobdiff_plain;f=bulletml%2F__init__.py;h=2a825cdb705ca21b0a0ae4edc7ae2d5f648aaa6e;hp=8ab4ec265f87601ea47515238039c76fdb8a214b;hb=0f067785de711c772c2c44c7f1e1cf8b44b2704f;hpb=781dc628702361a759834ca5fdf117679d33f76a diff --git a/bulletml/__init__.py b/bulletml/__init__.py index 8ab4ec2..2a825cd 100644 --- a/bulletml/__init__.py +++ b/bulletml/__init__.py @@ -9,6 +9,9 @@ renderer-agnostic. In addition to the standard BulletML XML format, this module supports an equivalent YAML format. See bulletml.bulletyaml for more details. +Finally, two simple collision routines are provided, bulletml.overlaps +for stationary circles and bulletml.collides for 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/. @@ -33,9 +36,11 @@ attributes that can be used to influence it. from bulletml.parser import BulletML from bulletml.impl import Bullet +from bulletml.collision import overlaps, collides VERSION = (0, 1) VERSION_STRING = ".".join(map(str, VERSION)) -__all__ = ["VERSION", "VERSION_STRING", "Bullet", "BulletML"] +__all__ = ["VERSION", "VERSION_STRING", "Bullet", "BulletML", + "overlaps", "collides"]