On Friday, 11 March 2016 at 23:14:48 UTC, ag0aep6g wrote:
On 11.03.2016 23:47, WhatMeWorry wrote:
[...]
This suggests that you simply `import ResourceManager;` in
main.d.
[...]
Very good. Thanks for the fix and the pointers. I'm porting C++
code over, and it has corrupted me. I'll
On 11.03.2016 23:47, WhatMeWorry wrote:
--- main.d
void main(string[] argv)
{
ResourceManager.LoadShader("VertexShader.glsl",
"FragmentShader.glsl", "filler", "sprite");
--- File ResourceManager.d
On Friday, 11 March 2016 at 22:47:00 UTC, WhatMeWorry wrote:
main.d(173): Error: undefined identifier 'LoadShader' in module
'ResourceManager'
Please show enough of the code that I can actually try to compile
it myself. In particular, I need to see how you handled the
imports since that is
--- main.d
void main(string[] argv)
{
ResourceManager.LoadShader("VertexShader.glsl",
"FragmentShader.glsl", "filler",
"sprite");
--- File ResourceManager.d
class ResourceManager
{