forked from kdx/jtmm2-old
Compile but crash on start
This commit is contained in:
parent
c850984a72
commit
706d924ff2
|
@ -2,3 +2,4 @@ build-cg
|
|||
build-cg/*
|
||||
build-fx
|
||||
build-fx/*
|
||||
JTMM2.g*a
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
typedef struct Vec
|
||||
{
|
||||
int x;
|
||||
int y;
|
||||
float x;
|
||||
float y;
|
||||
} Vec;
|
||||
|
||||
/* apply a force on a vector */
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#include "init.h"
|
||||
#include <gint/gray.h>
|
||||
|
||||
void init()
|
||||
{
|
||||
|
|
|
@ -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});
|
||||
|
|
Loading…
Reference in New Issue