A small quick made lib for 2d/3d Math, over standard float point type of D lang.
To use this package, run the following command in your project's root directory:
Put the following dependency into your project's dependences section:
This package provides sub packages which can be used individually:
zmath:3d - Usig zmath with OpenGL
ZMath it's a quick&dirty lib for Vectors, Matrix and Quaternions maths write on DLang, and using standard float point types.
I made it on the way of self-learning D, but I think that could be useful, so I open the source code.
The main objective it's be useful for doing basic things with 2d / 3d and allow using it with OpenGL.
For any serius usage, I recommend the excellent and battle tested gfm library : https://github.com/d-gamedev-team/gfm
- More useful math functions, like lerp and quaternion lerping
- Use SIMD
- Registered by Luis Panadero Guardeño
- ~develop released 3 years ago
- Copyright © 2020, Luis Panadero Guardeño
- Sub packages:
0.9.1 2020-Apr-20 0.9.0 2020-Apr-14 ~master 2021-Jul-15 ~develop 2020-Apr-20 ~dependabot/bundler/docs/tzinfo-1.2.10 2022-Jul-22
- Download Stats:
0 downloads today
0 downloads this week
2 downloads this month
14 downloads total
- Short URL: