walls_state->AddQuad(csVector3(-15, -10, -5), csVector3(6, -10, -5), csVector3(6,10,-5), csVector3(-10,10, -5)); walls_state->AddQuad(csVector3(-10, 10, 15), csVector3(6, 10, 15), csVector3(6,-10,15), csVector3(-15,-10, 15)); . It works ok if you only add one mesh to the sector, if you add more it seg. faults, at least for me.

walls_state->AddQuad(csVector3(-15, -10, -5), csVector3(6, -10, -5), csVector3(6,10,-5), csVector3(-10,10, -5)); walls_state->AddQuad(csVector3(-10, 10, 15), csVector3(6, 10, 15), csVector3(6,-10,15), csVector3(-15,-10, 15)); . It works ok if you only add one mesh to the sector, if you add more it seg. faults, at least for me.

void Simple::CreateRoom (){ // Load the texture from the standard library. This is located in // CS/data/standard.zip and mounted as /lib/std using the Virtual // File System (VFS) plugin. if (!loader->LoadTexture ("stone", "/lib/std/stone4.gif")) ReportError("Error loading 'stone4' texture!");