- blend_m3_m3m3 and blend_m4_m4m4 now support matrices with negative scales.

- python/mathutils api matrix.lerp(other, factor)
- new function mat3_to_rot_size(), like mat4_to_loc_rot_size but with no location.
This commit is contained in:
2010-11-22 10:39:28 +00:00
parent 77dff3f986
commit f781780cc0
5 changed files with 84 additions and 29 deletions

View File

@@ -670,7 +670,7 @@ static PyObject *Vector_Lerp(VectorObject *self, PyObject *args)
return NULL;
if(self->size != vec2->size) {
PyErr_SetString(PyExc_AttributeError, "vector.lerp(): expects (2) vector objects of the same size");
PyErr_SetString(PyExc_AttributeError, "vector.lerp(): expects both vector objects to have the same size");
return NULL;
}