view pytouhou/utils/vector.pxd @ 500:777544d11578

[Boss rush] Mark removed lasers as such
author Thibaut Girka <thib@sitedethib.com>
date Fri, 08 Nov 2013 13:40:53 +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)