Code cleanup: using defines in texture.c for whether a function returns

intensity, color and/or normal.
Patch provided by Guillermo, thanks!
This commit is contained in:
2005-11-19 18:24:32 +00:00
parent dfb200d405
commit f439f3a517
2 changed files with 30 additions and 23 deletions

View File

@@ -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 ******************** */