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.9.tar.gz (7.2 kB view hashes)

Uploaded Source

Built Distribution

SacraMathEngine-0.0.9-py3-none-any.whl (9.1 kB view hashes)

Uploaded Python 3

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