view pytouhou/utils/maths.pxd @ 754:a6875f90c141

Python: Only init SDL2 video if using SDL2 frontend.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 04 Jan 2021 20:39:30 +0100
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)