Merge branch 'main' of git.h3cx.dev:h3cx/fphysics

This commit is contained in:
h3cx committed 2026-09-29 22:07:53 +02:00
commit 2823d3e0c0
5 files changed
+74 -4

No files matched your search

+1 -4
View File
@@ -3,6 +3,7 @@
#include <bits/time.h>
#include <math.h>
#include <pthread.h>
#include <unistd.h>
#include <raylib.h>
#include <stdio.h>
#include <stdlib.h>
@@ -130,10 +131,6 @@ bool vec2_is_null(Vector2 v) {
return false;
}
typedef struct universe {
unsigned int num_bodies;
mass_body_t *bodies;
} universe_t;
long long timespec_diff_ns(struct timespec end, struct timespec start) {
return (end.tv_sec - start.tv_sec) * 1000000000LL +