dungeon_crawler

diff prototype/src/mesh.cc @ 66:6a471c87f9ca

- added visual studio project files - changed some __func__ into __FUNCTION__ to compile on visual studio
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 07 Oct 2012 00:19:48 +0200
parents 84a56fb24850
children e198e94435c8
line diff
     1.1 --- a/prototype/src/mesh.cc	Tue Oct 02 13:42:18 2012 +0300
     1.2 +++ b/prototype/src/mesh.cc	Sun Oct 07 00:19:48 2012 +0200
     1.3 @@ -38,7 +38,7 @@
     1.4  bool Mesh::create(const aiScene *scn, aiMesh *aim)
     1.5  {
     1.6  	if(aim->mPrimitiveTypes != aiPrimitiveType_TRIANGLE) {
     1.7 -		fprintf(stderr, "%s: non-triangle mesh!? primtype mask: %x\n", __func__, aim->mPrimitiveTypes);
     1.8 +		fprintf(stderr, "%s: non-triangle mesh!? primtype mask: %x\n", __FUNCTION__, aim->mPrimitiveTypes);
     1.9  		return false;
    1.10  	}
    1.11