On Saturday, 22 October 2016 at 21:34:36 UTC, WhatMeWorry wrote:
On Saturday, 22 October 2016 at 20:51:14 UTC, Jonathan M Davis
wrote:
[...]
Ok, but now I'm getting these error in my new
mypackage/constants.d
..\common\vertex_data.d(5,15): Error: undefined identifier
'GLfloat'
..\common\vertex_data.d(53,12): Error: undefined identifier
'vec3'
Is there a way to just suck in the text from say a .txt file
that would not be compiled before inclusion in main.d?
You could format your array in JSON format, and read it in your
program. That could be another solution.