Waterflow
Visualize water in terrain
main.cpp File Reference

Simple main file, most things are located in Program.h. More...

#include "program.h"

Go to the source code of this file.

Functions

int main (int argc, char *argv[])

Detailed Description

Simple main file, most things are located in Program.h.

The code below is based upon Ingemar Ragnemalm's code provided for the course TSBK03 at Link�ping University. The link to the original shell is http://www.ragnemalm.se/lightweight/psychteapot+MicroGlut-Windows-b1.zip which according to the web site was updated 2015-08-17.

SDL functions written by Gustav Svensk, acquired with permissions from https://github.com/DrDante/TSBK03Project/ 2015-09-24. Some related code

Notes: Use glUniform1fv instead of glUniform1f, since glUniform1f has a bug under Linux.

Definition in file main.cpp.

 All Classes Files Functions Variables Enumerations