view pytouhou/utils/vector.pxd @ 457:4ccc47828002

Display the name of a spellcard and the face of its invoker.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 10 Aug 2013 13:36:42 +0200
parents cb5c68598ab0
children 7f016dfbdfb1
line wrap: on
line source

cdef class Vector:
    cdef float x, y, z

    cdef Vector sub(self, Vector other)

cdef Vector cross(Vector vec1, Vector vec2)
cdef float dot(Vector vec1, Vector vec2)
cdef Vector normalize(Vector vec)