Imported core, m, ag and serial for refactoring

This commit is contained in:
Overwatch 2014-08-05 10:19:01 +02:00
parent 6f28ac0382
commit 5baa9b75d0
25 changed files with 918 additions and 4 deletions

23
m/m.header.pyx Normal file
View file

@ -0,0 +1,23 @@
"""
Vector And Matrix Math
TODO some nice description
"""
from libc.stdlib cimport malloc, realloc, free
from libc.stdint cimport uint8_t, uint16_t, uint64_t
from libc.math cimport sin, cos, sqrt
class MathError(Exception):
def __init__(self, description):
self.description = description
def __str__(self):
return self.description
class GeneralError(Exception):
def __init__(self, description):
self.description = description
def __str__(self):
return self.description