26#define FRINGE_FORE 0x000000
35float Nwest[] = {-0.8, 0.0, 0.6};
36float Ntop[] = {0.0, 0.0, 1.0};
71 bot = elev - ((
surf->zrange / 4.) *
surf->z_exag);
77 if (where[0] || where[1]) {
91 if (where[2] || where[3]) {
105 if (where[0] || where[2]) {
118 if (where[1] || where[3]) {
358 offset = (row *
surf->y_mod *
surf->cols) +
361 offset = (row *
surf->y_mod *
surf->cols) +
367 for (row = 0; row <
ycnt - 1; row++) {
380 offset = (row *
surf->y_mod *
surf->cols) +
383 offset = (row *
surf->y_mod *
surf->cols) +
441 offset = (row *
surf->y_mod *
surf->cols) +
444 offset = (row *
surf->y_mod *
surf->cols) +
450 for (row = 0; row <
ycnt - 1; row++) {
460 offset = (row *
surf->y_mod *
surf->cols) +
463 offset = (row *
surf->y_mod *
surf->cols) +
void gsd_pushmatrix(void)
Push the current matrix stack.
void GS_set_draw(int)
Sets which buffer to draw to.
void gsd_do_scale(int)
Set current scale.
void gsd_bgnqstrip(void)
ADD.
void gsd_endqstrip(void)
ADD.
void gsd_color_func(unsigned int)
Set current color.
void gsd_translate(float, float, float)
Multiply the current matrix by a translation matrix.
void gsd_popmatrix(void)
Pop the current matrix stack.
void gsd_flush(void)
Mostly for flushing drawing commands across a network.
void gsd_zwritemask(unsigned long)
Write out z-mask.
void gsd_linewidth(short)
Set width of rasterized lines.
void gsd_endline(void)
End line.
void gsd_colormode(int)
Set color mode.
typbuff * gs_get_att_typbuff(geosurf *, int, int)
Get attribute data buffer.
void gsd_bgnline(void)
Begin line.
void GS_done_draw(void)
Draw done, swap buffers.
void gsd_vert_func(float *)
ADD.
void gsd_fringe_vert_poly(float bot, geosurf *surf, int col, int side)
Draw fringe outline in y direction.
void gsd_fringe_horiz_poly(float bot, geosurf *surf, int row, int side)
Draw fringe polygon in x direction.
void gsd_display_fringe(geosurf *surf, unsigned long clr, float elev, int where[4])
Display fridge.
void gsd_fringe_vert_line(float bot, geosurf *surf, int col, int side)
Draw fringe outline in y direction.
void gsd_fringe_horiz_line(float bot, geosurf *surf, int row, int side)
Draw fringe outline in x direction.
void gsd_fringe_horiz_line2(float bot, geosurf *surf, int row, int side)
ADD.
#define GET_MAPATT(buff, offset, att)
OGSF header file (structures)