view pytouhou/utils/vector.pxd @ 522:e8496e5ba056

Add a compilation option to disable anmviewer.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 18 Dec 2013 17:53:16 +0100
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)