Difference for src/shade.c from version 1.80 to 1.81

version 1.80version 1.81
Line 1
Line 1
 /*  /* 
  * shade.c - This file contains the functions that perform surface shading.  * shade.c - This file contains the functions that perform surface shading.
  *  *
  *  $Id: shade.c,v 1.80 2003/06/06 19:35:02 johns Exp $  *  $Id: shade.c,v 1.81 2004/02/03 03:38:22 johns Exp $
  */  */
  
 #include "machine.h" #include "machine.h"
Line 98
Line 98
     return col;     return col;
   }   }
  
   if (obj->tex->islight) {  /* if the current object is a light, then we  */   if (obj->tex->flags & RT_TEXTURE_ISLIGHT) {  
                              /* if the current object is a light, then we  */
     return obj->tex->col;   /* will only use the objects ambient color    */     return obj->tex->col;   /* will only use the objects ambient color    */
   }   }
  
Line 218
Line 219
     return col;     return col;
   }   }
  
   if (obj->tex->islight) {  /* if the current object is a light, then we  */   if (obj->tex->flags & RT_TEXTURE_ISLIGHT) {  
                              /* if the current object is a light, then we  */
     return obj->tex->col;   /* will only use the objects ambient color    */     return obj->tex->col;   /* will only use the objects ambient color    */
   }   }
  


Legend:
Removed in v.1.80 
changed lines
 Added in v.1.81



Made by johns using version 1.65 of cvs2html