Exemplo n.º 1
0
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;
}
Exemplo n.º 2
0
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;
}
Exemplo n.º 3
0
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;
}