Closed maouache closed 4 years ago
I assume this code and this code which probably renders it (all of which is in GLC_Player, not GLC_lib).
JayFoxRox is right. The code for displaying GLC_PLayer axis is in GLC_Player. OpenglView::displayInfo() line 940 in OpenglView class. Lines created in the class constructor : GLC_3DViewInstance line= GLC_Factory::instance()->createLine(GLC_Point3d(), glc::X_AXIS); line.geomAt(0)->setWireColor(Qt::red); m_UiCollection.add(line); line= GLC_Factory::instance()->createLine(GLC_Point3d(), glc::Y_AXIS); line.geomAt(0)->setWireColor(Qt::darkGreen); m_UiCollection.add(line); line= GLC_Factory::instance()->createLine(GLC_Point3d(), glc::Z_AXIS); line.geomAt(0)->setWireColor(Qt::blue); m_UiCollection.add(line);
thank you for helping guys
Hello Laumaya, I want to know which classes are responsable for the xyz in viewport. I try to get inspiration from your engine code. I have been looking for a long time for a solution or a track, now I found it. these are the axes I am talking about in the image.