doml 1.0.1

A D math library for OpenGL and games


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:

DOML

A D math library for OpenGL rendering calculations.

Discord link: https://discord.gg/dRPyvubfyg

JOML translated to D with a few changes:

  • Only doubles, no floats, you can cast down but you can't cast back up (precision loss). There are still integer structures

  • That's not a joke, search float in vscode, you're going to get these two and 4 keywords from builtin libraries in math.d

  • No readonly views (Vector3DC etc)

  • Simplified using D's strengths

  • Only structs, no GC impact

This was a monumental effort, if you find anything wrong, please help me fix it.

There are a few missing elements, they will (hopefully) be translated in later on.

You should be able to follow a LWJGL tutorial (mostly, remember it's structs now) and get a functioning OpenGL/Vulkan/Metal/DirectX/Software Rendering program.

Also hi.

Todo:

  • Make EVERYTHING gettable as a raw array!
Authors:
  • httpdigest
  • jordan4ibanez
Dependencies:
none
Versions:
1.0.1 2023-Mar-08
1.0.0 2023-Mar-08
0.0.5 2022-Sep-04
0.0.4 2022-Aug-21
0.0.3 2022-Aug-19
Show all 8 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 0 downloads total

Score:
0.7
Short URL:
doml.dub.pm