daily update on 20230516 by nitload youmu, geometry interfaces created between cs and c
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user