Merge branch 'main' of git.h3cx.dev:h3cx/fphysics
This commit is contained in:
5 files changed
+74
-4
No files matched your search
@@ -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 +
|
||||
|
||||
Reference in new issue
Block a user