diff pytouhou/utils/maths.pxd @ 412:5fe6cd6ceb48

Refactor the maths functions out of Renderer.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 12 Jun 2013 18:30:08 +0200
parents
children cb5c68598ab0
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/pytouhou/utils/maths.pxd
@@ -0,0 +1,4 @@
+cpdef ortho_2d(left, right, bottom, top)
+cpdef look_at(eye, center, up)
+cpdef perspective(fovy, aspect, zNear, zFar)
+cpdef setup_camera(dx, dy, dz)