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

Uploaded Source

Built Distribution

SacraMathEngine-0.0.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SacraMathEngine-0.0.2.tar.gz
  • Upload date:
  • Size: 3.1 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.2.tar.gz
Algorithm Hash digest
SHA256 b3ce5ce05095651fecf2dff1668d7edcfa991b496ed99b0a27c8c4f34c2fa779
MD5 b509f798c96dd598af35e040a7de00fb
BLAKE2b-256 37d4ab9de39d615ba3e9fb54de4ab65ef35a652fb46eb8885c1ede86d25e3c14

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SacraMathEngine-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 aa84fff93bc37b9e81967a5bd9627a5f668df64f822068567d13ba31aabdcc65
MD5 26f28eeb1774bd15debf4c4850ed5278
BLAKE2b-256 8feda678ce22db80ee3cbb6322d56cf1231f55b77d3c08af36f2d61e19ad4b6b

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