zmath 0.9.1

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:

Manual usage
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

TODO:

  • More useful math functions, like lerp and quaternion lerping
  • Use SIMD
Authors:
  • Luis Panadero Guardeño
Sub packages:
zmath:3d
Dependencies:
none
Versions:
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
Show all 7 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 25 downloads total

Score:
0.1
Short URL:
zmath.dub.pm