NeHe OpenGL tutorials ported to Erlang
Switch branches/tags
Nothing to show
Pull request Compare This branch is even with asceth:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
crate.jpg
game_core.erl
lesson01.erl
lesson02.erl
lesson03.erl
lesson04.erl
lesson05.erl
lesson06.erl
lesson07.erl
lesson12.erl

README

This repo holds the lesson's from NeHe's OpenGL tutorials for Erlang:

http://nehe.gamedev.net/


You must have R13B and a working wx erlang library (which by default comes with R13B).
You can type in wx:new(). to see if it is working for you in the erlang shell.


Running the lessons:

erl
> GC = game_core:start_link().
> game_core:load(GC, lesson01).

Enjoy lesson 01...

> game_core:unload(GC)  % unloads currently loaded lesson
> game_core:load(GC, lesson02) % loads next lesson


An interesting thing to do is try to modify a currently loaded lesson's
source code draw method and compile it in the shell.  Initial attempts have shown
immediate updates with no crashing which can lead up to interactive programming... :)