[Bf-committers] python mathutils api update proposal

Alex Fraser alex at phatcore.com
Thu Feb 3 23:36:56 CET 2011


On Fri, Feb 4, 2011 at 8:54 AM, Campbell Barton <ideasman42 at gmail.com> wrote:
> Short answer is it doesn't make sense for Vectors to have one triple
> arg, so - we could.
>
> Longer answer:
>
> The reason I made this change is that Quaternions and Eulers have
> optional arguments which are more cumbersome to parse in C (see
> example below)

OK, I can see that it could become quite hard to maintain. What if the
extra argument, like 'angle' for quaternions, was keyword only? Just a
thought; I'm not too concerned if this doesn't make it in.

Cheers,
Alex


More information about the Bf-committers mailing list