Advertisement
czlowiekzgon

Untitled

Jun 13th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. // QSound p ("D:/qt/projekty/qtglgame/builds/resources/music.wav");
  2. // if(mode == 1){
  3. // CMesh* rectMesh = CMesh::m_meshes["rect"];
  4.  
  5. // glEnable(GL_BLEND);
  6. // glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
  7.  
  8. // m_program_hud->bind();
  9. // m_program_hud->setUniformValue(m_resolutionLoc_hud, m_resolution);
  10.  
  11. // setRectangle(0,0,m_resolution.x(),m_resolution.y(),QVector3D(1,1,1),TextureManager::getTexture("menu"));
  12. // rectMesh->render((this));
  13. // QPainter painter(this);
  14. // painter.setPen(QColor(QString("black")));
  15. // painter.setFont(QFont("Helvetica",30));
  16. // painter.drawText(450,230,QString("PRESS : "));
  17. // painter.drawText(450,275,QString("space -> jump "));
  18. // painter.drawText(450,315,QString("lpm -> fire "));
  19. // painter.drawText(450,355,QString("esc -> quit "));
  20.  
  21. // }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement