view pytouhou/utils/maths.pxd @ 794:8c2ef2d503c9

formats: Implement T6RP in Rust This has been tested against demo00.rpy shipped in CM.DAT.
author Link Mauve <linkmauve@linkmauve.fr>
date Tue, 02 Jun 2026 16:39:21 +0200
parents 7f016dfbdfb1
children
line wrap: on
line source

from .matrix cimport Matrix

cdef Matrix *ortho_2d(float left, float right, float bottom, float top) nogil
cdef Matrix *perspective(float fovy, float aspect, float zNear, float zFar) nogil
cdef Matrix *setup_camera(float dx, float dy, float dz)