34 lines
456 B
C
34 lines
456 B
C
#pragma once
|
|
|
|
#include "glad/glad.h"
|
|
#include "GLFW/glfw3.h"
|
|
#include "framework.h"
|
|
#include "stdio.h"
|
|
|
|
#define init InitProgram;
|
|
float* triangleVertices;
|
|
|
|
typedef struct internalIO
|
|
{
|
|
void (*InitWindow)(int width,int height);
|
|
}IOpackage;
|
|
|
|
typedef struct vec4d
|
|
{
|
|
float x;
|
|
float y;
|
|
float Z;
|
|
float w;
|
|
}vec4d;
|
|
|
|
typedef struct basicWindowInfo
|
|
{
|
|
int width;
|
|
int height;
|
|
vec4d backgroundColor;
|
|
char name[];
|
|
}basicWindowInfo;
|
|
|
|
|
|
|