Mercurial > touhou
view pytouhou/utils/vector.pxd @ 495:b32cef75df59
Drop an useless dependency on Player from Orb, on Game from Laser.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 14 Oct 2013 12:12:52 +0200 |
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)