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

Uploaded Source

Built Distribution

SacraMathEngine-0.0.4-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SacraMathEngine-0.0.4.tar.gz
  • Upload date:
  • Size: 4.2 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.4.tar.gz
Algorithm Hash digest
SHA256 e3fd2bafbef2a9485a3d6bb050aa7195522e66b1abc0114c249e277226611e37
MD5 d0ff6ff25c4a2e4a46bfa659de70655b
BLAKE2b-256 1c7b076ed4e7ff3967dfb1728a72fd25ab418b0245d49fff582010a1fc93454e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SacraMathEngine-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 6.2 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a985e33f7d7fa845d6131de00163578d9b3a7492a6ece5bcd60ab7af1ef5853a
MD5 45100090d31979cf94bc69413413d500
BLAKE2b-256 b2eafc25180f4c3318fb1e55451e2fe9e21f137feed8418da2315428fc95190a

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