rewriting to OpenGL4.3
- 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
This commit is contained in:
@ -19,7 +19,8 @@ executable Pioneers
|
||||
text >=0.11.3 && <0.12,
|
||||
stm >=2.4.2 && <2.5,
|
||||
transformers >=0.3.0 && <0.4,
|
||||
List >=0.5.1 && <0.6
|
||||
List >=0.5.1 && <0.6,
|
||||
OpenGLRaw >=1.4.0 && <1.5
|
||||
ghc-options: -Wall
|
||||
other-modules:
|
||||
Map.Coordinates,
|
||||
|
Reference in New Issue
Block a user