pikapython/examples/PikaMath/Quaternion_test.py

12 lines
116 B
Python
Raw Normal View History

2022-08-01 00:16:23 +08:00
from PikaMath import Quaternion
a=Quaternion()
a.set(0.592,0.158,0.592,0.525)
b=Quaternion()
a.add(b)
a.mul(b)