Fixed primitive coordiantes being inaccurate
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user