Mercurial > touhou
view pytouhou/__init__.py @ 789:b5bca9274335
utils: Make some math functions const
Sadly f32::sqrt() isn’t const, so we can’t make normalize() const nor any
function which depends on it.
| author | Link Mauve <linkmauve@linkmauve.fr> |
|---|---|
| date | Sun, 04 Jan 2026 11:49:03 +0100 |
| parents | ee6dfd14a785 |
| children |
line wrap: on
line source
"""Reimplementation of the Touhou engines. This package provides various classes to handle parts or the whole of Touhou file formats and gameplay. Sub-packages: formats -- file formats handling game -- game logic games -- game-specific classes resource -- resource loading ui -- user interface related classes utils -- various helpers and non Touhou-specific functions vm -- virtual machines for enemies, etc. """
