Mathutils library for the python API

- support for quaternions, euler, vector, matrix operations.
- euler supports unique rotation calculation
- new matrix memory construction and internal functions
- quaternion slerp and diff calculation
- 2d, 3d, 4d vector construction and handling
- full conversion support between types
- update to object/window to reflect to matrix type
- update to types/blender/module to reflect new module
This commit is contained in:
2004-02-29 13:20:34 +00:00
parent 2255ac3b19
commit 8f3a9815ba
19 changed files with 3770 additions and 214 deletions

View File

@@ -327,7 +327,7 @@ static PyObject *M_Window_GetViewMatrix(PyObject *self)
return Py_None;
}
viewmat = newMatrixObject (G.vd->viewmat);
viewmat = (PyObject*)newMatrixObject((float*)G.vd->viewmat, 4, 4);
if (!viewmat)
return (EXPP_ReturnPyObjError (PyExc_MemoryError,