Code: Select all
char name[256];
// fill name array with data
// ...
const wchar_t *string = irr::core::stringw(name).c_str();
Code: Select all
char name[256];
// fill name array with data
// ...
const wchar_t *string = irr::core::stringw(name).c_str();
Code: Select all
scene::ISceneNode shadow = node->addShadowVolumeSceneNode();
shadow->setMaterialFlag(video::EMF_FOG_ENABLE,true);
Code: Select all
MyEventReceiver receiver;
IrrlichtDevice *device =
createDevice(EDT_DIRECTX9, dimension2d<s32>(1024, 768), 16, false, false, &receiver);