daily update on 20230516 by nitload youmu, geometry interfaces created between cs and c

This commit is contained in:
Nitload
2023-05-17 02:14:23 +08:00
parent dd891f7319
commit 3532f09fed
83 changed files with 1431 additions and 1220 deletions
@@ -0,0 +1,25 @@
#include "glad/glad.h"
#include "GLFW/glfw3.h"
#include "stdio.h"
#include "StgSharpGraphics.h"
STGSHARPGRAPHICS_API TriangleVertexHandler initTriangle(void)
{
float vertex[9] = {
0,0,0,
0,0,0,
0,0,0,
};
TriangleVertexHandler tri;
tri.vertex1 = &vertex[0];
tri.vertex2 = &vertex[3];
tri.vertex3 = &vertex[6];
return tri;
}