Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 1.04 KB

README.md

File metadata and controls

25 lines (14 loc) · 1.04 KB

Unity Quaternion.js

This is full-scratch immitation of UnityEngine.Quaternion

codecov Codacy Badge unit-test

How to use

Install by:

pip install UnityQuaternionPy

And use Quaternion class. All interfaces are same as Unity document

Vector3 in Unity is represented by tuple[float, float, float]

Trivials

This is using Left-handed coordinate system.

Euler rotation is ZXY order.

All same as UnityEngine.Quaternion