bettercmath ~main
3D math library compatible with betterC
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
bettercmath
A -betterC
compatible 3D math library for D.
It is available as a DUB package, has online documentation and may be used directly as a Meson subproject or wrap.
Submodules
- box: Type and dimension generic Axis-Aligned Bounding Boxes
- cmath: Standard math type generic functions and constants, using D runtime (std.math) on CTFE and C runtime (core.stdc.math) otherwise
- easings: Type generic easing functions based on https://easings.net
- hexagrid2d: 2D Hexagon grid math based on https://www.redblobgames.com/grids/hexagons
- matrix: Type and dimension generic Matrix type for use in linear algebra
- misc: Miscelaneous math functions (angle measure transformation, type generic linear interpolation)
- transform: Type and dimension generic Affine Transformations backed by possibly compacted Matrices
- valuerange: Inclusive scalar value ranges for interpolating and remapping between ranges
- vector: Type and dimension generic Vector type for use in linear algebra
TODO
- Support row-major matrices
- Color submodule
- Gradient submodule
- Registered by Gil Barbosa Reis
- ~main released 3 years ago
- gilzoide/bettercmath
- public license
- Authors:
- Dependencies:
- none
- Versions:
-
0.3.1 2021-Jan-25 0.3.0 2021-Jan-15 0.2.0 2020-Dec-28 0.1.0 2020-Dec-23 ~main 2021-Feb-18 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
42 downloads total
-
- Score:
- 1.0
- Short URL:
- bettercmath.dub.pm