view pytouhou/utils/maths.pxd @ 634:5270c34b4c00

Use the number of cores available for parallel compilation, instead of an hardcoded 4 threads.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 09 Jul 2015 22:18: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)