Mercurial > touhou
comparison pytouhou/utils/maths.pxd @ 436:cb5c68598ab0
Cythonize pytouhou.utils.maths and pytouhou.utils.vector.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 07 Aug 2013 11:34:42 +0200 |
parents | 5fe6cd6ceb48 |
children | 6e3b3d5d4691 |
comparison
equal
deleted
inserted
replaced
435:878273a984c4 | 436:cb5c68598ab0 |
---|---|
1 cpdef ortho_2d(left, right, bottom, top) | 1 from .matrix cimport Matrix |
2 cpdef look_at(eye, center, up) | 2 |
3 cpdef perspective(fovy, aspect, zNear, zFar) | 3 cdef Matrix ortho_2d(float left, float right, float bottom, float top) |
4 cpdef setup_camera(dx, dy, dz) | 4 cdef Matrix perspective(float fovy, float aspect, float zNear, float zFar) |
5 cdef Matrix setup_camera(float dx, float dy, float dz) |