Mercurial > touhou
annotate pytouhou/utils/maths.pxd @ 434:18e4b121646b
Move the common parts of EoSDGame outside, to not reallocate them at each stage.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sun, 11 Aug 2013 14:30:52 +0200 |
parents | 5fe6cd6ceb48 |
children | cb5c68598ab0 |
rev | line source |
---|---|
412
5fe6cd6ceb48
Refactor the maths functions out of Renderer.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff
changeset
|
1 cpdef ortho_2d(left, right, bottom, top) |
5fe6cd6ceb48
Refactor the maths functions out of Renderer.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff
changeset
|
2 cpdef look_at(eye, center, up) |
5fe6cd6ceb48
Refactor the maths functions out of Renderer.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff
changeset
|
3 cpdef perspective(fovy, aspect, zNear, zFar) |
5fe6cd6ceb48
Refactor the maths functions out of Renderer.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff
changeset
|
4 cpdef setup_camera(dx, dy, dz) |