1
0
mirror of synced 2024-12-01 00:57:18 +01:00
bemaniutils/bemani/format/afp/blend/__init__.py

12 lines
401 B
Python

try:
# If we compiled the faster cython/c++ code, we can use it instead!
from .blendcpp import affine_composite
from .blendcpp import perspective_composite
except ImportError:
# If we didn't, then fall back to the pure python implementation.
from .blend import affine_composite
from .blend import perspective_composite
__all__ = ["affine_composite", "perspective_composite"]