Mercurial > touhou
view pytouhou/utils/maths.pxd @ 635:80687f258001
Make sdl.Window inherit from gui.Window, so we can swap implementations.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 14 Apr 2016 21:18:03 +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)