项目作者: ManderaGeneral

项目描述 :
Simple immutable vectors.
高级语言: Python
项目地址: git://github.com/ManderaGeneral/generalvector.git
创建时间: 2020-05-04T16:39:49Z
项目社区:https://github.com/ManderaGeneral/generalvector

开源协议:MIT License

下载



generalvector



Simple immutable vectors.


Table of Contents




  1. generalvector
    ├─ Dependency Diagram for ManderaGeneral
    ├─ Installation showing dependencies
    ├─ Information
    ├─ Attributes
    ├─ Contributions
    └─ Todo


Dependency Diagram for ManderaGeneral



mermaid flowchart LR 2([library]) --> 4([vector]) 1([tool]) --> 2([library]) 3([file]) --> 5([packager]) 2([library]) --> 3([file]) 0([import]) --> 2([library]) 0([import]) --> 3([file]) 2([library]) --> 5([packager]) click 0 "https://github.com/ManderaGeneral/generalimport" click 1 "https://github.com/ManderaGeneral/generaltool" click 2 "https://github.com/ManderaGeneral/generallibrary" click 3 "https://github.com/ManderaGeneral/generalfile" click 4 "https://github.com/ManderaGeneral/generalvector" click 5 "https://github.com/ManderaGeneral/generalpackager" style 4 fill:#482

Installation showing dependencies



| pip install | generalvector |
|:——————————————————————————————————-|:—————————|
| generallibrary | ✔️ |

Information



| Package | Ver | Latest Release | Python | Platform | Cover |
|:————————————————————————————————-|:—————————————————————————-|:———————————|:———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————-|:————————|:————|
| generalvector | 1.5.114 | 2023-06-05 11:30 CEST | 3.8, 3.9, 3.10, 3.11 | Windows, Ubuntu | 52.4 % |

Attributes




  1. Module: generalvector
    ├─ Class: Vec
    ├─ Method: clamp
    ├─ Method: distance
    ├─ Method: hex
    ├─ Method: inrange
    ├─ Method: length
    ├─ Method: max
    ├─ Method: min
    ├─ Method: normalized
    ├─ Method: random
    ├─ Method: range
    └─ Method: round
    └─ Class: Vec2
    ├─ Method: clamp
    ├─ Method: distance
    ├─ Method: inrange
    ├─ Method: length
    ├─ Method: max
    ├─ Method: min
    ├─ Method: normalized
    ├─ Method: random
    ├─ Method: range
    └─ Method: round


Contributions



Issue-creation, discussions and pull requests are most welcome!

Todo



| Module | Message |
|:————————————————————————————————————————————————————————-|:—————————————————————————————————————————————————————————————————————-|
| general.py | Move most methods to _GeneralVector. |


Generated 2023-06-05 11:30 CEST for commit master.