Page Menu
Home
Search
Configure Global Search
Log In
Files
F1880
testvecs.py
Public
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Campbell Barton (campbellbarton)
Nov 13 2013, 1:00 PM
Size
308 B
Subscribers
None
testvecs.py
View Options
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
Details
Mime Type
text/x-python
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
4e/e7/f26fef1c67d6f7e584f237ea0b25
Event Timeline
Log In to Comment