X-Git-Url: https://git.yukkurigames.com/?p=python-bulletml.git;a=blobdiff_plain;f=bulletml%2F__init__.py;h=62a1d0419c696097fb723e58084287194d2056e6;hp=c31dce7640a84f27245e987beeeb6e87e9906f4e;hb=9da06c24edb2148cf6b773b58d280a1db407c5ce;hpb=bcc629f4faa2e762fb9d8c92af7583497dc15e2a diff --git a/bulletml/__init__.py b/bulletml/__init__.py index c31dce7..62a1d04 100644 --- a/bulletml/__init__.py +++ b/bulletml/__init__.py @@ -9,8 +9,10 @@ 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. +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 @@ -36,11 +38,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 +from bulletml.collision import overlaps, collides, collides_all -VERSION = (1,) +VERSION = (2,) VERSION_STRING = ".".join(map(str, VERSION)) __all__ = ["VERSION", "VERSION_STRING", "Bullet", "BulletML", - "overlaps", "collides"] + "overlaps", "collides", "collides_all"]