fixed cos sin

This commit is contained in:
veclavtlica
2026-09-11 15:09:47 +03:00
parent adfae10938
commit 6d7fe7392a
10 changed files with 345 additions and 6 deletions
+5
View File
@@ -38,6 +38,11 @@ extern int plr_display_x11_main(int argc, char *argv[]) {
com_fixed_print(t0.a[4]);
com_fixed_print(t1.a[4]);
com_vec_t v0 = com_mat_vec_project(com_mat_reoder(m0), com_vec_identity());
com_fixed_print(v0.a[0]);
com_fixed_run_tests();
Display *display = XOpenDisplay(NULL);
if (NULL == display) {
fprintf(stderr, "Failed to initialize display");
+1 -1
View File
@@ -1,5 +1,5 @@
CC=clang
CFLAGS=-lX11 -Wall -std=c99 -g3 -O3 -fno-inline -msse2
CFLAGS=-lX11 -Wall -std=c99 -g3 -O3 -fno-inline -msse2 -lm
DEPS = Display/display.h ../Common/lzw.h ../Common/mat.h ../Common/vec.h ../Common/fixed.h ../Common/def.h ../Common/bits.h
OBJ = ../Common/lzw.o ../Common/fixed.o
LINUX = main.o Display/x11.o