Created
October 12, 2017 11:02
-
-
Save h0hmj/be9dd8489ef9c2e7b120de8d957947f9 to your computer and use it in GitHub Desktop.
3d miniproject1 basic render
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Combine the multiple images into a single integrated image | |
void render() { | |
int x, y, z, v, m, n; | |
z = COL * 3; | |
for (x = 0; x < ROW; x++) { | |
for (y = 0; y < z; y++) { | |
back_buf[x][y] = image[mask[x % 9][y % 9]][x][y]; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment