19 #include <grass/gis.h>
20 #include <grass/G3d.h>
21 #include <grass/gstypes.h>
22 #include <grass/glocale.h>
36 struct Colors *colors;
39 G_warning(_(
"3D raster map <%s> not found"), name);
43 if (
NULL == (colors = (
struct Colors *)G_malloc(
sizeof(
struct Colors))))
87 return ((r & 0xff) | ((g & 0xff) << 8) | ((b & 0xff) << 16));