Noobular Variable Question regarding GetMesh
-
Ant
Noobular Variable Question regarding GetMesh
How would I make getmesh() load a variable, like I know getmesh("blah.blh"), but how would I do like getmesh(blah)?
that could cause scope problems. how about:Boogle wrote:char* bob = "./meshes/mymesh.obj";
smgr->getMesh(bob);
Code: Select all
char filename[80];
strcpy(filename,"meshes\\mymesh.m3s");
smgr->getMesh(filename);