Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shBLOCK committed Oct 4, 2023
1 parent 1d00d9d commit 1074236
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,21 @@

## Main features
- 100% Cython implementation (~30x speedup from pure python on average)
- Codegen based
- Linear Algebra
- Vector
- [Vector](https://github.com/shBLOCK/GdMath/wiki#vectors)
- Pythonic and GLSL-like
- +, -, *, /, @(dot), ^(cross) ...
- Operators +, -, *, /, @(dot), ^(cross), |(distance) ...
- Fast swizzling (e.g. `Vec3(1, 2, 3).zxy`)
- Flexible constructor (e.g. `Vec3(Vec2(1, 2), 3)`)
- Iterating and unpacking (e.g. `x, y, z = Vec3(1, 2, 3)`)
- Transform
- W.I.P
- [Transform2D](https://github.com/shBLOCK/GdMath/wiki#transform2d) & [Transform3D](https://github.com/shBLOCK/GdMath/wiki#transform3d)
- Godot and GLSL like api

## Implementation detiles
Please refer to the [wiki](https://github.com/shBLOCK/GdMath/wiki) for more details

## Implementation details
**This library uses code generation.**
Every swizzle pattern and constructor are implemented as individual methods and properties (For performance reasons).
As a result, code generation is required so that I don't have to maintain 50,000+ lines of code by hand...
Expand Down

0 comments on commit 1074236

Please sign in to comment.