MCPcopy Create free account
hub / github.com/MotrixLab/insactor / quat_imaginary

Function quat_imaginary

diffmimic/utils/quaternion.py:4–8  ·  view source on GitHub ↗

imaginary components of the quaternion

(x)

Source from the content-addressed store, hash-verified

2
3
4def quat_imaginary(x):
5 """
6 imaginary components of the quaternion
7 """
8 return x[..., :3]
9
10def quat_rotate(rot, vec):
11 """

Callers 1

quat_rotateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected