NCCA / ShaderEnvironmentBuilder

A GLSL IDE
8 stars 3 forks source link

When creating a project, have a basic main function #50

Closed JFlynnXYZ closed 8 years ago

JFlynnXYZ commented 8 years ago

What we can do is check when creating a project that it has a main function, and if it doesn't add one. Just the following:

void main ()
{

}

Which in a c++ string would be:

"void main ()\n{\n\n\n}"
mainConfetti commented 8 years ago

nah mate :)