Mike Gaffney
Posts: 34
Nickname: gaffo
Registered: Dec, 2008
|
Mike Gaffney is a lead Ruby and Java developer at Asynchrony Solutions
|
|
|
|
Simplicity Itself
|
Posted: Feb 18, 2010 8:35 PM
|
|
|
This post originated from an RSS feed registered with Ruby Buzz
by Mike Gaffney.
|
Original Post: Simplicity Itself
Feed Title: confabulus
Feed URL: http://blog.confabulus.com/feed/
Feed Description: rails, coding, and the goings on at confabulus
|
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Mike Gaffney
Latest Posts From confabulus
|
|
I just wanted to share what it took to draw a simple yellow triangle on a black background on the Pre. I hope it will give my Ruby friends and Haskell friends an aneurysm.
To show this:
I had to do this:
//The headers
#include <SDL/SDL.h>
#include <SDL/SDL_opengles.h>
//Screen attributes
const int SCREEN_WIDTH = 480;
const int SCREEN_HEIGHT = 320;
const int [...]
Read: Simplicity Itself
|
|