Mercurial > hg > Members > kono > Cerium
view old/simple_pack/trash/mygl.cpp @ 866:a37eb30d40d8
add aquarium.proto
author | kazz <kazz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Jun 2010 12:10:37 +0900 |
parents | 735f76483bb2 |
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; } }