[Bf-python] mathutils

Gilbert, Joseph jgilbert at tigr.org
Wed Nov 12 17:48:23 CET 2003


Sounds good. I'll stay away from redefining pi :)

-----Original Message-----
From: Willian Padovani Germano [mailto:wgermano at ig.com.br] 
Sent: Wednesday, November 12, 2003 11:01 AM
To: bf-python at blender.org
Subject: Re: [Bf-python] mathutils

Hi,

> I was thinking about wrapping the /blenlib .c files such as arithb.c,
> matrixops.c, rand.c, vectorops.c as well as maybe some clamping and string
> manipulations that are found elsewhere.

That's a good idea : ), arithb.c was in the plans since before 2.28.  I'd
just suggest to be careful not to go too far (asking users is probably the
best way).  String manipulation, for example ...  Python is a champion for
doing this, seems pretty weird to wrap Blender's C code for that.  Clamping,
random numbers, too.  Remember that Python is a very powerful programming
language, even when considering only its builtin modules.

--
Willian, wgermano at ig.com.br

_______________________________________________
Bf-python mailing list
Bf-python at blender.org
http://www.blender.org/mailman/listinfo/bf-python



More information about the Bf-python mailing list