view pytouhou/utils/vector.pxd @ 516:577c3a88fb67

Merge the lists Game.texts and Game.native_texts into the Game.texts dict.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 11 May 2014 20:25:07 +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)