Mercurial > touhou
annotate pytouhou/utils/maths.pxd @ 427:0604f4fbbe3c
Move the depth buffer clear outside of scissor, as per apitrace’s advice.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 03 Aug 2013 15:48:51 +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) |