You could pass the model name as a non-const C string:
char tmp[] = "res/models/nanosuit.obj";
Model ourModel(tmp);
solved why this error become (C2664 error c++ Visual Studio)
You could pass the model name as a non-const C string:
char tmp[] = "res/models/nanosuit.obj";
Model ourModel(tmp);
solved why this error become (C2664 error c++ Visual Studio)