view pytouhou/utils/vector.pxd @ 724:8acaf45b47d0

ecl_vm: added spellcard 13
author Gauvain "GovanifY" Roussel-Tarbouriech <gauvain@govanify.com>
date Tue, 29 Oct 2019 14:39:03 +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)