Fixed primitive coordiantes being inaccurate

This commit is contained in:
YourWishes committed 2021-03-18 22:23:39 +11:00
1 parent b5c2651202
commit d370ca895b
4 files changed
+23 -13

No files matched your search

+3
View File
@@ -11,7 +11,9 @@
#include <stdint.h>
#include <malloc.h>
#include <string.h>
#include "../display/shader.h"
#include "../display/texture.h"
/** Prefix of all asset load methods, may be customizable in future. */
#define ASSET_PREFIX "../assets/"
@@ -67,6 +69,7 @@ int32_t assetBufferEnd(FILE *buffer);
void assetBufferSkip(FILE *buffer, int32_t n);
/**
* Load a shader program from a vertex and fragment shader file.
*
* @param fileVertex The file path of the vertex shader
* @param fileFragment The file path of the fragment shader