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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user