diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2024-09-25 18:27:02 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2024-09-25 18:27:02 -0400 |
| commit | ece0cb3a336f73e4b8c67601a8dce0b4ff598a41 (patch) | |
| tree | 3f5cea9d5dd9d1da6cf8ff8dda5e81e0add56917 /balls.h | |
| parent | d6681412eeb19b49a308877a60c79e7b4b4c5303 (diff) | |
| download | balls-ece0cb3a336f73e4b8c67601a8dce0b4ff598a41.zip | |
vadd
Diffstat (limited to 'balls.h')
| -rw-r--r-- | balls.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |