diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2009-09-06 23:51:57 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2009-09-06 23:51:57 +0400 |
commit | 7064f6c5d88e17406df1c7c8d1fec20364571084 (patch) | |
tree | e3f99a691e5a7b24c5c375b47547f26b47146acc /source/blender/makesdna | |
parent | a46beac3f87ee78d6231b2f0038db31c50aa2315 (diff) |
Mathutils fix: Vector.reflect
* correct function for reflection and moving it to arithb.c
* note: 2.5 has an already more elegant solution for it (still wrong, but the code is cleaner).
Therefore the merge may need to be manual in that case.
Specifically in 2.5 we are doing:
if(!BaseMath_ReadCallback(self) || !BaseMath_ReadCallback(value)) return NULL;
And there we don't need to create a VectorObject *mirrvec; only to get the values.
Code used to test it:
http://www.pasteall.org/7654/python
* YoFrankie script probably needs to be fixed too.
Diffstat (limited to 'source/blender/makesdna')
0 files changed, 0 insertions, 0 deletions