metasurf

diff src/metasurf.c @ 11:430d8dde62aa

random changes
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 23 Aug 2015 07:17:56 +0300
parents 2c575855f707
children
line diff
     1.1 --- a/src/metasurf.c	Thu Apr 17 13:51:10 2014 +0300
     1.2 +++ b/src/metasurf.c	Sun Aug 23 07:17:56 2015 +0300
     1.3 @@ -160,7 +160,6 @@
     1.4  
     1.5  	pos[0] = ms->min[0];
     1.6  	for(i=0; i<ms->res[0] - 1; i++) {
     1.7 -
     1.8  		pos[1] = ms->min[1];
     1.9  		for(j=0; j<ms->res[1] - 1; j++) {
    1.10  
    1.11 @@ -279,6 +278,7 @@
    1.12  				ms->normal(dfdx, dfdy, dfdz);
    1.13  			}
    1.14  
    1.15 +			/* TODO multithreadied polygon emmit */
    1.16  			ms->vertex(v[0], v[1], v[2]);
    1.17  		}
    1.18  	}
    1.19 @@ -409,5 +409,4 @@
    1.20  		}
    1.21  	}*/
    1.22  }
    1.23 -
    1.24  #endif	/* USE_MTETRA */