Guest User

Untitled

a guest
Jan 15th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.66 KB | None | 0 0
  1. //-----------------------------------------------------------------------------
  2. void RPathPlanner::render_opaque(const Camera* cam)
  3. {
  4.     (void)cam;
  5.     glMatrixMode(GL_MODELVIEW);
  6.     glPushMatrix();  //!!!!!!!!!
  7.  
  8.     Messages::CurrentLocPoseM::const_ptr locmsg=BaseLib::Core::Dispatcher::getInst()->peekMessage<Messages::CurrentLocPoseM>();
  9.     if (locmsg)
  10.     {
  11.         Matrix4d locPose=locmsg->getLocPose();
  12.         locPose.block<3,1>(0,3)*=10;
  13.         glMultMatrixd((const double*)&locPose);
  14.     }
  15.  
  16.     Messages::Velodyne3DPointsM::const_ptr veloM=BaseLib::Core::Dispatcher::getInst()->peekMessage<Messages::Velodyne3DPointsM>();
  17.     if (!veloM)
  18.         return;  //!!!!!!!!!
Add Comment
Please, Sign In to add comment