示例#1
0
文件: escena.cpp 项目: ereslibre/igr
void Escena::proyeccionOblicua()
{
    m_proyeccion = Camara::Oblicua;
    Camara *ant = m_camara;
    m_camara = new Camara(ant->getEye(), ant->getLook(), ant->getUp(), m_proyeccion);
    delete ant;
}
示例#2
0
文件: escena.cpp 项目: ereslibre/igr
void Escena::proyeccionPerspectiva()
{
    m_proyeccion = Camara::Perspectiva;
    Camara *ant = m_camara;
    m_camara = new Camara(ant->getEye(), ant->getLook(), ant->getUp(), m_proyeccion);
    delete ant;
}
示例#3
0
文件: escena.cpp 项目: ereslibre/igr
void Escena::proyeccionOrtogonal()
{
    m_proyeccion = Camara::Ortogonal;
    Camara *ant = m_camara;
    m_camara = new Camara(ant->getEye(), ant->getLook(), ant->getUp(), m_proyeccion);
    delete ant;
}