Mercurial > touhou
annotate utils/src/lib.rs @ 791:a29122662cde
utils: Simplify translate_2d and align Mat4 to 16 bytes
This lowers the amount of instructions from 61 to 32 on PowerPC with AltiVec,
and from 25 to 14 on amd64 with AVX2.
| author | Link Mauve <linkmauve@linkmauve.fr> |
|---|---|
| date | Sat, 17 Jan 2026 14:19:58 +0100 |
| parents | daa23a4ff24d |
| children |
| rev | line source |
|---|---|
| 637 | 1 //! Module containing a bunch of helper modules. |
| 2 | |
| 3 pub mod bitstream; | |
| 4 pub mod lzss; | |
|
643
01849ffd0180
Add an anmrenderer binary.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
637
diff
changeset
|
5 pub mod math; |
|
646
7d92730bf543
Add a PRNG and use it for anm0 instruction 16.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
643
diff
changeset
|
6 pub mod prng; |
