A basic game development Vector class.
The immutable, 2D vector class for the PursuedPyBear project.
Vector implements many convenience features, as well as
useful mathematical operations for 2D geometry.
You can install
Vector pip package using
pip install 'ppb-vector'
Vector is an immutable 2D Vector, which is instantiated as expected:
>>> from ppb_vector import Vector >>> Vector(3, 4) Vector(3.0, 4.0)
See the API reference for an overview of the functionality.
Version numbers follow the semantic versioning convention, so requiring
ppb-vector ~= 1.0 is appropriate for software developped against this release:
the version specification will match any 1.x release, starting with 1.0.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size ppb_vector-1.0-py3-none-any.whl (10.6 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size ppb-vector-1.0.tar.gz (6.9 kB)||File type Source||Python version None||Upload date||Hashes View|