Using OpenGL

Nicholas Wilson via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Sep 4 22:14:56 PDT 2016


On Saturday, 3 September 2016 at 17:13:49 UTC, Darren wrote:
> On Saturday, 3 September 2016 at 16:07:52 UTC, Mike Parker 
> wrote:
>>[...]
>
> The dynamic array!  Thank you so much, I changed that on 
> another file and it finally drew the triangle.  And I ran your 
> code and it works brilliantly.  I should now be in a 
> comfortable position to digest all this information now.  Can't 
> thank you enough.
>
>> [...]
>
> Yeah, it is nicer to read.
>
> Now I wonder if I can load shaders from separate files (à la 
> http://www.opengl-tutorial.org/beginners-tutorials/tutorial-2-the-first-triangle/).

see:

https://p0nce.github.io/d-idioms/#Embed-a-dynamic-library-in-an-executable

for `import`ing external files at compile time.


More information about the Digitalmars-d-learn mailing list