Compile but crash on start

This commit is contained in:
KikooDX 2020-09-11 10:50:11 +02:00
parent c850984a72
commit 706d924ff2
5 changed files with 4 additions and 4 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ build-cg
build-cg/*
build-fx
build-fx/*
JTMM2.g*a

BIN
JTMM2.g3a

Binary file not shown.

View File

@ -3,8 +3,8 @@
typedef struct Vec
{
int x;
int y;
float x;
float y;
} Vec;
/* apply a force on a vector */

View File

@ -1,5 +1,4 @@
#include "init.h"
#include <gint/gray.h>
void init()
{

View File

@ -5,7 +5,7 @@
int main(void)
{
init(); /* initialise gint */
init(); /* initialize gint */
Vec vector_test = {20, -50};
vec_add(&vector_test, (Vec){5, -10});