41 float top, bottom, left, right;
56 return (pt[
X] >= left && pt[
X] <= right && pt[
Y] >= bottom && pt[
Y] <= top);
217 float site[4], konst;
221 GLdouble modelMatrix[16], projMatrix[16];
252 for (gpt = gp->
points; gpt; gpt = gpt->
next) {
317 GLdouble modelMatrix[16], projMatrix[16];
338 for (gpt = gp->
points; gpt; gpt = gpt->
next) {
355 if (
gsd_checkpoint(site, window, viewport, modelMatrix, projMatrix))
void gsd_cube(float *, unsigned long, float)
Draw cube.
int gs_point_is_masked(geosurf *, float *)
Check if point is masked.
void gsd_diamond(float *, unsigned long, float)
Draw diamond symbol.
void gsd_pushmatrix(void)
Push the current matrix stack.
void gsd_box(float *, int, float *)
Draw box.
void gsd_scale(float, float, float)
Multiply the current matrix by a general scaling matrix.
void gsd_getwindow(int *, int *, double *, double *)
Get viewport.
void gsd_do_scale(int)
Set current scale.
void gsd_x(geosurf *, float *, int, float)
Draw X symbol.
void gsd_draw_box(float *, unsigned long, float)
Draw box.
void gsd_sphere(float *, float)
ADD.
int gs_get_att_src(geosurf *, int)
Get attribute source.
int gsd_checkpoint(float[4], int[4], int[4], double[16], double[16])
ADD.
void GS_v3eq(float *, float *)
Copy vector values.
void gsd_draw_gyro(float *, unsigned long, float)
Draw gyro.
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_linewidth(short)
Set width of rasterized lines.
int viewcell_tri_interp(geosurf *, typbuff *, Point3, int)
ADD.
void gsd_colormode(int)
Set color mode.
typbuff * gs_get_att_typbuff(geosurf *, int, int)
Get attribute data buffer.
void gsd_draw_asterisk(float *, unsigned long, float)
Draw asterisk.
int GS_check_cancel(void)
Check for cancel.
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.
void gpd_obj(geosurf *gs, gvstyle *style, Point3 pt)
Draw point representing object.
int gpd_2dsite(geosite *gp, geosurf *gs, int do_fast UNUSED)
Draw 2D point set.
int gs_point_in_region(geosurf *gs, float *pt, float *region)
Check if point is in region.
int gpd_3dsite(geosite *gp, float xo, float yo, int do_fast UNUSED)
Draw 3D point set.
gvstyle_thematic * tstyle