#include <fondo.h>
Diagrama de herencias de FONDO_ESTRELLAS
Métodos públicos | |
FONDO_ESTRELLAS () | |
virtual | ~FONDO_ESTRELLAS () |
void | init (void) |
Initializes an array of stars, or points, each of which are unit length of ne away from (0,0,0). | |
void | pintar_gl (CAMARA *Camara) |
Draws a starfield by changing the modelview matrix to (0,0,0) but preserving the orientation. | |
BOOLEAN | leer (TOKENIZADOR *Sabiondo) |
|
|
|
|
|
Initializes an array of stars, or points, each of which are unit length of ne away from (0,0,0). It then compiles the starfield into a display list. Implements FONDO. Definición en la línea 215 del archivo fondo.C. Referenciado por pintar_gl(). |
|
Implements FONDO. Definición en la línea 280 del archivo fondo.C. References TOKENIZADOR::siguiente_token(), TK_ABRIR, TK_CERRAR, TK_DESCONOCIDO, y TK_IDENTIFICADOR. |
Here is the call graph for this function:
|
Draws a starfield by changing the modelview matrix to (0,0,0) but preserving the orientation. We then draw all the stars, which were precalculated to all be a unit length of 1 away. Nota: Este codigo ha sido derivado a partir del programa "view3ds" de David Farrell. Implements FONDO. Definición en la línea 254 del archivo fondo.C. References CAMARA::activar_centro_gl(), init(), FONDO::lista_gl, y FONDO::nuevito. |
Here is the call graph for this function: