mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
12 lines
116 B
Python
12 lines
116 B
Python
from PikaMath import Quaternion
|
|
|
|
a=Quaternion()
|
|
a.set(0.592,0.158,0.592,0.525)
|
|
|
|
b=Quaternion()
|
|
|
|
a.add(b)
|
|
a.mul(b)
|
|
|
|
|