Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Ray Charles

Name: Anonymous 2011-06-30 9:59

Best and most efficient Ray tracing algorithm ever:


int width = 1920, height = 1080;
int[] imgArray = new int[width*height];
int i;

for(i = 0; i < width; i++) {
  imgArray[i] = 0;
}


eat shit!

Name: Anonymous 2011-06-30 12:58

int imgArray[width*height] = {0};

That will create an array of all zeros.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List