03-17-2010, 01:26 PM
how i can use a class function this is sample in c++
I must a use a device->getVideoDriver(); - how i can do it in ruby
b - u - m - p
b - u - m - p
Code:
driverType = video::EDT_OPENGL;
IrrlichtDevice *device = createDevice(driverType, core::dimension2d<u32>(640, 480));
video::IVideoDriver* driver = device->getVideoDriver();
b - u - m - p
b - u - m - p