Skip to main content

A lightweight 3-d vector package with intents of being used in Sacra Game Engine

Project description

SacraMathEngine

SacraMathEngine is built as the default MathEngine for Sacra Game Engine. It has the basic features such as vector definitions, scalar multiplication of such an object, as well as matrix definitions.

Installation

Using PIP you'll be able to install SacraMathEngine, however note that this package is built for the sole reason of being inside Sacra Game Engine. If might not fit your needs nor your hopes.

pip install SacraMathEngine

Usage

As stated before, this package is built as a helper-package, for simplicity, for Sacra Game Engine, and thus the author ("Andreas Evensen"), do not recommend using this outside of the grasp of it's intended use. It's fully functional, with the most basic of operations.

vector1 = vec3d(1,1,1)
vector2 = vec3d(1,1,1)
print(vector1 + vector2)

A small demonstration of code.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SacraMathEngine-0.0.5.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

SacraMathEngine-0.0.5-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file SacraMathEngine-0.0.5.tar.gz.

File metadata

  • Download URL: SacraMathEngine-0.0.5.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6

File hashes

Hashes for SacraMathEngine-0.0.5.tar.gz
Algorithm Hash digest
SHA256 5378af9ed0ff57b659c8d159f4feb6c4ffe6ecdedf954f346c472d07e55c9f75
MD5 322111c804627e41b4571e2971e38f32
BLAKE2b-256 734ff1884f99d12ec44a323e63caf8a5437e9b0a56b0dce5bbf6c8c74f46ed17

See more details on using hashes here.

File details

Details for the file SacraMathEngine-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: SacraMathEngine-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6

File hashes

Hashes for SacraMathEngine-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 67363a582a2f9765bede2065a6948d0c294816189b0df071fea4aece3b66c16a
MD5 18900dd58c10fff1677c52a9759c9632
BLAKE2b-256 1671260a02564675b47d540d977fb3964a0d67f71e8a3bcb76e6c113a50f9791

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page