50 G_debug(3,
"gsd_wire_surf(): id=%d",
surf->gsurf_id);
105 float pt[4], xres, yres, ymax,
zexag;
109 G_debug(3,
"gsd_wire_surf_map");
127 ymax = (
surf->rows - 1) *
surf->yres;
164 for (row = 0; row <
ycnt; row++) {
165 pt[
Y] = ymax - row * yres;
220 for (row = 0; row <
ycnt; row++) {
221 pt[
Y] = ymax - row * yres;
281 float pt[4], xres, yres, ymax,
zexag;
286 G_debug(3,
"gsd_wire_surf_const");
302 ymax = (
surf->rows - 1) *
surf->yres;
338 for (row = 0; row <
ycnt; row++) {
339 pt[
Y] = ymax - row * yres;
389 for (row = 0; row <
ycnt; row++) {
390 pt[
Y] = ymax - row * yres;
463 float tx,
ty, tz, sz;
464 float n[3],
pt[4], xres, yres, ymax,
zexag;
510 ymax = (
surf->rows - 1) *
surf->yres;
523 for (row = 0; row <
ycnt; row++) {
524 pt[
Y] = ymax - row * yres;
584 float n[3],
pt[4], xres, yres, ymax,
zexag;
627 ymax = (
surf->rows - 1) *
surf->yres;
722 y1 = ymax - row * yres;
723 y2 = ymax - (row - (
step_val / 2)) * yres;
783 for (
ii = 0;
ii < 10;
ii++) {
int BM_get(struct BM *, int, int)
Gets 'val' from the bitmap.
int G_debug(int, const char *,...) __attribute__((format(printf
void gsd_endtfan(void)
ADD.
void gsd_pushmatrix(void)
Push the current matrix stack.
void gsd_do_scale(int)
Set current scale.
int gs_get_att_src(geosurf *, int)
Get attribute source.
int gs_calc_normals(geosurf *)
Calculate normals.
int gs_mapcolor(typbuff *, gsurf_att *, int)
Call this one when you already know att_src is MAP_ATT.
int gs_update_curmask(geosurf *)
Update current maps.
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_zwritemask(unsigned long)
Write out z-mask.
void gsd_endline(void)
End line.
int gsd_surf_const(geosurf *, float)
Using tmesh - not confident with qstrips portability.
void gsd_colormode(int)
Set color mode.
typbuff * gs_get_att_typbuff(geosurf *, int, int)
Get attribute data buffer.
void GS_get_scale(float *, float *, float *, int)
Get axis scale.
void gsd_bgntfan(void)
ADD.
void gsd_set_material(int, int, float, float, int)
Set material.
void gsd_bgnline(void)
Begin line.
float gsdiff_do_SD(float, int)
ADD.
void gsd_blend(int)
Specify pixel arithmetic.
void gsd_vert_func(float *)
ADD.
int gsd_arrow(float *, unsigned long, float, float *, float, geosurf *)
Draws an arrow.
geosurf * gsdiff_get_SDref(void)
ADD.
void gsd_litvert_func(float *, unsigned long, float *)
Set the current normal vector & specify vertex.
float GS_global_exag(void)
Get global z-exag value.
#define UNUSED
A macro for an attribute, if attached to a variable, indicating that the variable is not used.
int gsd_wire_arrows(geosurf *surf)
ADD.
int gsd_wire_surf_func(geosurf *gs, int(*user_func)(void))
ADD.
int gsd_wire_surf(geosurf *surf)
Draw surface wire.
int gsd_coarse_surf_map(geosurf *surf)
Draw coarse surface.
int gsd_wire_surf_const(geosurf *surf, float k)
ADD.
int gsd_wire_surf_map(geosurf *surf)
ADD.
#define SCALE_ATT(att, val, low, high)
#define GET_MAPATT(buff, offset, att)
OGSF header file (structures)