- added simple shader
- rewrote map to cater BufferArray
- completele rewrote Main
- Split off stuff into Render-Module
- cleaned up .cabal-file to bare minimum
- created RenderObjects for the purpose of moving rendering there
- rewrote Map to generate Triangles for glBindBuffer
- Coordinates is not longer used AFTER the change but generates
Data until change is complete
- Size of Map in VRAM is sizeof(float)*(vert)*9 with vert = 2nm - n - m + 1
* 3 float coordinats
* 3 float color
* 3 float normal
yielding about 13.5mb VRAM for 500x500-Map
- Movement works. Keys are read out by KeyCode
thus independent from Keyboard-Layout
On a normal quertz-layout they map like so:
* e, s, d, f for movement
* r, w for rotation
* space/caps for up/down