Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Vignola authored Apr 19, 2023
1 parent 1c15ce0 commit c58b850
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ V0 = np.random.random((10**7,3))
V1 = np.random.random((10**7,3))
# slerp 10 million vectors 1:1 element wise, half way
slerp = transforms.vectorSlerp(V0, V1, 0.5) # 0.886 seconds
slerp = transforms.vectorSlerp(V0, V1, 0.5)
# slerp 10 million vectors to a common vector, half way
slerp = transforms.vectorSlerp(V0, V1[0], 0.5) #0.813 seconds
slerp = transforms.vectorSlerp(V0, V1[0], 0.5)
# slerp 10 million vectors 1:1 element wise, with a random ratio for each
blend = np.random.random(10**7)
slerp = transforms.vectorSlerp(V0, V1, blend) #0.956 seconds
slerp = transforms.vectorSlerp(V0, V1, blend)
```


Expand Down

0 comments on commit c58b850

Please sign in to comment.