view pytouhou/utils/vector.pxd @ 732:5f00b2e0c06a

ecl_vm: remilia lasers done
author Gauvain "GovanifY" Roussel-Tarbouriech <gauvain@govanify.com>
date Sun, 03 Nov 2019 02:07:18 +0100
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)