Added cwasm_vectors.c and cwasm_matrices.c. Vectors API is completely finished, Matrices API is partially finished. Added Clamp(value, min, max) macro to cwasm.h. Fixed types on jsGl functions that take vectors or matrices (and Arena*).
This commit is contained in:
8
cwasm.c
8
cwasm.c
@@ -10,12 +10,14 @@ Description:
|
||||
|
||||
#include "std/src/std_main.c"
|
||||
|
||||
#include "cwasm_debug.c"
|
||||
#include "cwasm_vectors.c"
|
||||
#include "cwasm_matrices.c"
|
||||
#include "cwasm_arena.c"
|
||||
|
||||
#include "cwasm_webgl_js_imports.h"
|
||||
#include "cwasm_webgl_constants.h"
|
||||
|
||||
#include "cwasm_arena.c"
|
||||
#include "cwasm_debug.c"
|
||||
|
||||
void InitializeCWasm(u32 scratchArenasSize)
|
||||
{
|
||||
InitGlobalArenas(scratchArenasSize);
|
||||
|
||||
Reference in New Issue
Block a user