[Bf-python] Mathutils additions
jms
jmsoler at free.fr
Fri Jul 16 13:20:14 CEST 2004
Campbell Barton wrote:
> Hi, there are some higher level functions Id like to impliment
>
> Mathutils.getVecLength(vec)
> Mathutils.setVecLength(vec) # scales the vector to a spesified length
> (a bit like making unit length and multiplying)
> Mathutils.getVecDist(vecA, vecB) # measures the distance in 3d space
> between 2 vectors
> Mathutils.getArea(vec1, vec2, vec3, (optional: vec4)) # returns the
> area of a tri or a quad in 3d space.
>
Why not ? These functions are really useful .
regards.
More information about the Bf-python
mailing list