All pastes #979644 Raw Edit

Stuff

public cpp v1 · immutable
·published 2008-04-10 14:26 UTC
rendered paste body
	long int * polynum = (long int *) NUMBERPOLYS;	long int polygons = *polynum;	float x[3];	float y[3];	for (long int i=0; i<polygons; i++) {		for (int j=0; j<3; j++) {			x[j] = readfloat( (POLYGONS+(0x54 * i)) + (0x4+(POLYDIFF*i)));			y[j] = readfloat( (POLYGONS+(0x54 * i)) + (POLYDIFF*i));		}		drawtriangleonmap(polygonColor[getpolytype(i)] ,x[0],y[0],x[1],y[1],x[2],y[2],m_pD3Ddev);	}