Mercurial > touhou
view pytouhou/utils/vector.pxd @ 739:01915da33b99
ecl_vm: Let enemies spawn other enemies.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 06 Jan 2020 22:43:31 +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)