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

Uploaded Source

Built Distribution

SacraMathEngine-0.0.8-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SacraMathEngine-0.0.8.tar.gz
  • Upload date:
  • Size: 5.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.8.tar.gz
Algorithm Hash digest
SHA256 270f4b99fbc631209c2d2e1b9052d3242f0c203a7cbc681cd9f470bed7687248
MD5 5df4999158f16a027473d7f414586a96
BLAKE2b-256 73049569af35a1160300c5511f83d85a920313e2d9750c406e46cdd5f77e229e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SacraMathEngine-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 7.8 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5f3cb67243f61240e2a9cc6f0eee5df9e1f073945c0529ae33227702bc706364
MD5 fd70dfb8b3c7ba4ec2852d23a1ad6c7e
BLAKE2b-256 151a7b835c2ebfd469253271bd7e7c3d177d63f2fd4b9cd1f0358a25ebdf0cd4

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