C++ code to D (multi dem 3d mesh)

Imperatorn johan_forsberg_86 at hotmail.com
Tue Oct 27 08:14:28 UTC 2020


On Tuesday, 27 October 2020 at 07:32:30 UTC, Joel wrote:
> On Tuesday, 27 October 2020 at 07:17:46 UTC, Imperatorn wrote:
>> On Monday, 26 October 2020 at 23:38:22 UTC, Joel wrote:
>>> ```
>>> struct vec3d
>>> {
>>> 	float x, y, z;
>>> }
>>>
>>> [...]
>>
>> It's not really clear what your question is.
>
> I'm trying to convert from C++ code to D code, see where I've 
> put '// This here' - with all the data. I found one way. I 
> think I've thought of another way too.

Ok, some steps have to be done manually.

Just wanted to share some links that might be interesting when 
converting in the future:
https://github.com/lhamot/CPP2D
https://github.com/jacob-carlborg/dstep
https://github.com/atilaneves/dpp
http://www.swig.org/Doc4.0/D.html
https://dlang.org/htod.html


More information about the Digitalmars-d-learn mailing list