black when i use it in eg the drawline3d method:
Code: Select all
core::line3df ray;
ray.start = cam->getPosition();
ray.end = ent->getPosition() - ray.start;
driver->draw3DLine(ray.start,ray.end,video::SColor(255,255,0,0));
//should draw a red line but draws black one instead.