updated makefile for supporting different target architectures

use "ARCH=arch_name make"

restructured project folder, implementations and headers together under sources/
This commit is contained in:
beno
2026-03-16 00:10:52 +01:00
parent 6c125fb35e
commit bbede61723
73 changed files with 786 additions and 379 deletions

View File

@@ -0,0 +1,31 @@
resource text files from WIN all had CRLF
add space the delete it and save
GLES2 vs GL4
the GLSL files all needed
#version 300 es
instead of
#version 330 core
also for the vertex shaders
/*this will affect all the float guys (float, vecN, matN )*/
precision mediump float;
gl_FragCoord is still a varible in gles2 ( 300 es ) , while with gl4 (330 core) needs to be declared
commented out from declarations ( gl compiler fails on redeclarations )
automatic casting of variables is not supported
added some .0 to integers in float expressions
also some cast through constructors ( i.e float(intVar) )
InstancesLoader
changed
string root = path.substr(0, path.find_last_of("\\") + 1);
to
string root = path.substr(0, path.find_last_of("/") + 1);
Main
disabled curve path drawing until rewrite using vertexbuffers ( currently using glBegin / glEnd which are not part of OpenglES 2 )