summaryrefslogtreecommitdiffstats
path: root/balls.h
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-09-25 18:27:02 -0400
committerSam Anthony <sam@samanthony.xyz>2024-09-25 18:27:02 -0400
commitece0cb3a336f73e4b8c67601a8dce0b4ff598a41 (patch)
tree3f5cea9d5dd9d1da6cf8ff8dda5e81e0add56917 /balls.h
parentd6681412eeb19b49a308877a60c79e7b4b4c5303 (diff)
downloadballs-ece0cb3a336f73e4b8c67601a8dce0b4ff598a41.zip
vadd
Diffstat (limited to 'balls.h')
-rw-r--r--balls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/balls.h b/balls.h
index 7b68ea1..4af6b9b 100644
--- a/balls.h
+++ b/balls.h
@@ -19,6 +19,7 @@ typedef struct {
double m; /* mass [kg] */
} Ball;
+Vec vadd(Vec v1, Vec v2);
Vec vsub(Vec v1, Vec v2);
Vec vmuls(Vec v, double a);
Vec vdivs(Vec v, double a);