dungeon_crawler

diff prototype/src/material.cc @ 12:e95462632f9a

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 19 Aug 2012 05:35:00 +0300
parents e5567ddbf2ef
children 67ae9fcb802c
line diff
     1.1 --- a/prototype/src/material.cc	Sun Aug 19 03:11:36 2012 +0300
     1.2 +++ b/prototype/src/material.cc	Sun Aug 19 05:35:00 2012 +0300
     1.3 @@ -1,3 +1,4 @@
     1.4 +#include <stdio.h>
     1.5  #include <assert.h>
     1.6  #include <assimp/material.h>
     1.7  #include "opengl.h"
     1.8 @@ -24,7 +25,7 @@
     1.9  	val = 60.0;
    1.10  	aiGetMaterialFloatArray(assmat, AI_MATKEY_SHININESS, &val, &sz);
    1.11  	if(val > 127) {
    1.12 -		printf("GOT SHININESS: %f\n", val);
    1.13 +		fprintf(stderr, "Warning: shininess %f... setting to 127\n", val);
    1.14  		val = 127;
    1.15  	}
    1.16  	shin = val;