From f439f3a517e2928f46ce1db809e34c4f7b065569 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sat, 19 Nov 2005 18:24:32 +0000 Subject: Code cleanup: using defines in texture.c for whether a function returns intensity, color and/or normal. Patch provided by Guillermo, thanks! --- source/blender/blenpluginapi/plugin.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/blenpluginapi') diff --git a/source/blender/blenpluginapi/plugin.h b/source/blender/blenpluginapi/plugin.h index aa8b5097604..9d353cc611a 100644 --- a/source/blender/blenpluginapi/plugin.h +++ b/source/blender/blenpluginapi/plugin.h @@ -79,6 +79,10 @@ void plugin_getinfo(PluginInfo *); #define NUMSLI (14<<9) #define COL (15<<9) +/* return values (bitfield like) for textures (DNA_texture_types.h) */ +#define TEX_INT 0 +#define TEX_RGB 1 +#define TEX_NOR 2 /* *************** API functions ******************** */ -- cgit v1.2.3