Page MenuHome

testvecs.py

testvecs.py

from Blender import *
v1 = Mathutils.Vector([45345345340,1534534530,2312341234230])
v2 = Mathutils.Vector([4534534540,15345345370,2312341230])
print v1, v2
print Mathutils.AngleBetweenVecs(v2,v1)
# Used to return NAN
print Mathutils.AngleBetweenVecs(v1,v1)
# These are now unchanged
print v1, v2

File Metadata

Mime Type
text/x-python
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
4e/e7/f26fef1c67d6f7e584f237ea0b25

Event Timeline