issue porting C++/glm/openGL to D/gl3n/openGL
rsw0x via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jan 11 18:27:58 PST 2016
On Tuesday, 12 January 2016 at 01:00:30 UTC, Mike Parker wrote:
> On Sunday, 10 January 2016 at 05:47:01 UTC, WhatMeWorry wrote:
>
>> Thanks. Bummer. I really like gl3n, but glm/opengl is used
>> almost exclusively in all the modern opengl code (tutorials)
>> I've seen, so this might be a deal breaker. As the author of
>> Derelict do you have any ideas of how much work is involved
>> with getting glm to work with D?
>>
>> Want to do a DerelictGLM :)
>
> AFAIK, glm is a header-only library, so there's nothing to bind
> to. And if it did have binaries, I don't think the current
> state of D's C++ support could handle it. Binding to C is easy,
> binding to C++ is hit or miss.
the performance would also be terrible because AFAIK nothing
could be inlined(outside of LTO, maybe)
More information about the Digitalmars-d-learn
mailing list