Mercurial > touhou
view pytouhou/utils/vector.pxd @ 581:cb8a443bc046
Fix a compilation issue on Cython 0.20.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sun, 07 Sep 2014 13:26:41 +0200 |
parents | 7f016dfbdfb1 |
children |
line wrap: on
line source
cdef struct Vector: float x, y, z cdef Vector sub(Vector vec1, Vector vec2) cdef Vector cross(Vector vec1, Vector vec2) cdef float dot(Vector vec1, Vector vec2) nogil cdef Vector normalize(Vector vec)