Mercurial > hg > Game > Cerium
view old/simple_render/trash/mygl.cpp @ 1870:44fa0f1320a9 draft
run wordcount with iterate
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 26 Dec 2013 17:05:49 +0900 |
parents | 3bc98f6d31ff |
children |
line wrap: on
line source
#include <iostream> #include <SDL.h> using namespace std; void write_pixel(int x, int y) { int i; for (i=0; i<height; i++) { pixels[i*width] = 0xff; } }