DirectXMath alternative

John Burton john.burton at jbmail.com
Wed Dec 5 07:43:54 UTC 2018


On Wednesday, 5 December 2018 at 01:57:53 UTC, evilrat wrote:
> On Tuesday, 4 December 2018 at 20:41:54 UTC, Guillaume Piolat 
> wrote:
>> On Tuesday, 4 December 2018 at 20:33:07 UTC, John Burton wrote:
>>> What is the best alternative for D, assuming there is 
>>> anything?
>>> (I want vector, matrix math for use in D3, things like 
>>> inverting a matrix, getting perspective matrices etc)
>>> I can program something myself if necessary but I'd prefer 
>>> notto
>>
>> You have the choice between the following packages:
>> - dlib
>> - gfm:math
>> - gl3n
>
> I was using gl3n then switched to gfm math. Try gfm, IIRC it 
> should work without much PITA because it stores matrices 
> row-major way, so you don't have to transpose it like with 
> OpenGL. Can't say anything about dlib though, I tried it a bit 
> with dagon engine, but just didn't stick for long.

These all look good, thank you.
Although the first two bring in additional modules I don't want I 
guess I can just ignore them


More information about the Digitalmars-d-learn mailing list