30 #include <grass/gstypes.h>
33 static geosurf *Refsurf =
NULL;
34 static typbuff *Refbuff =
NULL;
35 static float Refscale = 1.0;
79 if (Refsurf && Refbuff) {
100 return (ref + (val - ref) * Refscale);
void gsdiff_set_SDscale(float scale)
Set scale.
float gsdiff_get_SDscale(void)
Get scale.
geosurf * gsdiff_get_SDref(void)
ADD.
typbuff * gs_get_att_typbuff(geosurf *gs, int desc, int to_write)
Get attribute data buffer.
void gsdiff_set_SDref(geosurf *gsref)
ADD.
float gsdiff_do_SD(float val, int offset)
ADD.
#define GET_MAPATT(buff, offset, att)