This repository has been archived on 2022-01-13. You can view files and clone it, but cannot push or open issues or pull requests.
jtmm2-old/src/main.c

19 lines
347 B
C
Raw Normal View History

2020-09-10 15:44:26 +02:00
#include <gint/display.h>
#include <gint/keyboard.h>
#include "init.h"
#include "vec.h"
2020-09-10 15:44:26 +02:00
int main(void)
{
init(); /* initialise gint */
Vec vector_test = {20, -50};
vec_add(&vector_test, (Vec){5, -10});
2020-09-10 15:44:26 +02:00
dclear(C_WHITE);
dprint(1, 1, C_BLACK, "vector_test: x = %d, y = %d", vector_test.x, vector_test.y);
2020-09-10 15:44:26 +02:00
dupdate();
getkey();
return 1;
}