clucontext.c

00001 #include <clu.h>
00002 
00003 CLcontext* cluContextGenerateNormals(CLcontext* context)
00004 {
00005     GLuint i;
00006 
00007     /* printf("cluContextGenerateNormals() : START\n"); */
00008     
00009     for (i = 0 ; i < context->num_models ; i++)
00010     {
00011         context->models[i] = cluModelGenerateNormals(context->models[i]);
00012     }
00013     
00014     /* printf("cluContextGenerateNormals() : END\n"); */
00015 
00016     return context;
00017 }
00018 
00019 /*
00020 CLcontext* cluContextGenerateNormalsSmoothAngle(CLcontext* context,
00021                                                 GLfloat angle)
00022 {
00023   GLuint i;
00024   
00025   for (i = 0 ; i < context->num_models ; i++)
00026   {
00027       context->models[i] = 
00028           cluModelGenerateNormalsSmoothAngle(context->models[i], angle);
00029   }
00030   
00031   return context;
00032 }
00033 */

Generated on Thu Dec 27 13:53:42 2007 for CLU by  doxygen 1.4.6