# Unity Quaternion.js
This is full-scratch immitation of UnityEngine.Quaternion
[![codecov](https://codecov.io/gh/konbraphat51/UnityQuaternionPy/graph/badge.svg?token=B1Q2BY9UP6)](https://codecov.io/gh/konbraphat51/UnityQuaternionPy) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/47beb37864094743ad7bd34b55df5716)](https://app.codacy.com/gh/konbraphat51/UnityQuaternionPy/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) [![unit-test](https://github.com/konbraphat51/UnityQuaternionPy/actions/workflows/tester.yml/badge.svg)](https://github.com/konbraphat51/UnityQuaternionPy/actions/workflows/tester.yml)
## How to use
Install by:
```
pip install UnityQuaternionPy
```
And use `Quaternion` class. All interfaces are same as [Unity document](https://docs.unity3d.com/2023.3/Documentation/ScriptReference/Quaternion.html)
`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
Raw data
{
"_id": null,
"home_page": "https://github.com/konbraphat51/UnityQuaternionPy",
"name": "UnityQuaternionPy",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "fromscratch,math,quaternion,geometry,rotation,3d,game,Topic :: Multimedia :: Graphics :: 3D Modeling",
"author": "konbraphat51",
"author_email": "konbraphat51@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/a7/bf/322ecf432f418ba33496bd5f1995617318ffceee9c8aebe8850c5ed9a486/UnityQuaternionPy-0.1.2.tar.gz",
"platform": null,
"description": "# Unity Quaternion.js\r\n\r\nThis is full-scratch immitation of UnityEngine.Quaternion\r\n\r\n[![codecov](https://codecov.io/gh/konbraphat51/UnityQuaternionPy/graph/badge.svg?token=B1Q2BY9UP6)](https://codecov.io/gh/konbraphat51/UnityQuaternionPy) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/47beb37864094743ad7bd34b55df5716)](https://app.codacy.com/gh/konbraphat51/UnityQuaternionPy/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) [![unit-test](https://github.com/konbraphat51/UnityQuaternionPy/actions/workflows/tester.yml/badge.svg)](https://github.com/konbraphat51/UnityQuaternionPy/actions/workflows/tester.yml)\r\n\r\n## How to use\r\n\r\nInstall by:\r\n\r\n```\r\npip install UnityQuaternionPy\r\n```\r\n\r\nAnd use `Quaternion` class. All interfaces are same as [Unity document](https://docs.unity3d.com/2023.3/Documentation/ScriptReference/Quaternion.html)\r\n\r\n`Vector3` in Unity is represented by `tuple[float, float, float]`\r\n\r\n## Trivials\r\n\r\nThis is using Left-handed coordinate system.\r\n\r\nEuler rotation is ZXY order.\r\n\r\nAll same as UnityEngine.Quaternion\r\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Immitation of UnityEngine.Quaternion in Python",
"version": "0.1.2",
"project_urls": {
"Homepage": "https://github.com/konbraphat51/UnityQuaternionPy"
},
"split_keywords": [
"fromscratch",
"math",
"quaternion",
"geometry",
"rotation",
"3d",
"game",
"topic :: multimedia :: graphics :: 3d modeling"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "feec4f41077addcb9ad15919afaf7394cc9bbe7dc8450c99f53ba5b91901edb6",
"md5": "bee56b7a0ac09fbb6fbbfd96c63de361",
"sha256": "f804623b59a143c96e95ad7100fdb965fc6e5263c83f831ca16352f6dcd527a3"
},
"downloads": -1,
"filename": "UnityQuaternionPy-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bee56b7a0ac09fbb6fbbfd96c63de361",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 6150,
"upload_time": "2023-12-19T08:47:51",
"upload_time_iso_8601": "2023-12-19T08:47:51.022907Z",
"url": "https://files.pythonhosted.org/packages/fe/ec/4f41077addcb9ad15919afaf7394cc9bbe7dc8450c99f53ba5b91901edb6/UnityQuaternionPy-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a7bf322ecf432f418ba33496bd5f1995617318ffceee9c8aebe8850c5ed9a486",
"md5": "ea8b97fd9d35b25b2e5b37122ef8f29e",
"sha256": "9538518d29474d49cf1e4f9ce4e39977047d13ba69c582ab74bb1879bef46ffa"
},
"downloads": -1,
"filename": "UnityQuaternionPy-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "ea8b97fd9d35b25b2e5b37122ef8f29e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 6364,
"upload_time": "2023-12-19T08:47:52",
"upload_time_iso_8601": "2023-12-19T08:47:52.316366Z",
"url": "https://files.pythonhosted.org/packages/a7/bf/322ecf432f418ba33496bd5f1995617318ffceee9c8aebe8850c5ed9a486/UnityQuaternionPy-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-19 08:47:52",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "konbraphat51",
"github_project": "UnityQuaternionPy",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "unityquaternionpy"
}