A basic pure python vector manipulation library because I got sick of copy pasting it.
Table of Contents
pip install mega-vector
print(Vector3(1,2,0))
'❬1.00, 2.00, 0.00❭'
f"{Vector3(1,2,0):>7.3f}"
'❬ 1.000, 2.000, 0.000❭'
list(Vector3(1,2,0))
tuple(Vector3(1,2,0))
dict(zip("xyz",Vector3(1,2,0)))
[1,2,0]
(1,2,0)
{'x': 1, 'y': 2, 'z': 0}
np.array(Vector3(1,2,0))
array([1, 2, 0])
mega-vector
is distributed under the terms of the MIT license.