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.6.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: SacraMathEngine-0.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 776d474f0ffea7a46101cff14841f9cb20ca0cc4b7495d085177f77ef5e70534
MD5 9bdabfbf9ba69ca79455cff2bdbf4c75
BLAKE2b-256 3d7e90482762ee506a1e6df1c3bc9c1c20418d1dce30fac9a1b9fe4657e21898

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SacraMathEngine-0.0.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 094dabaeb8dd0af4fdb33c22a1d584a35dfe7d1b629c5d605d9c3ec991205f63
MD5 89b38ff4235f19d02a3d955d85940a6d
BLAKE2b-256 90956d65521f878fe4c25718729fd676aa03511b98ff6df0dd01c7e0d9918d78

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