comparison pytouhou/utils/vector.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
children 7f016dfbdfb1
comparison
equal deleted inserted replaced
435:878273a984c4 436:cb5c68598ab0
1 cdef class Vector:
2 cdef float x, y, z
3
4 cdef Vector sub(self, Vector other)
5
6 cdef Vector cross(Vector vec1, Vector vec2)
7 cdef float dot(Vector vec1, Vector vec2)
8 cdef Vector normalize(Vector vec)