summaryrefslogtreecommitdiff
path: root/dat.h
diff options
context:
space:
mode:
Diffstat (limited to 'dat.h')
-rw-r--r--dat.h18
1 files changed, 3 insertions, 15 deletions
diff --git a/dat.h b/dat.h
index f1aff88..24799b8 100644
--- a/dat.h
+++ b/dat.h
@@ -1,15 +1,8 @@
-#define DEG 0.01745329251994330
#define Eg 9.81
#define PIX2M 0.001
#define M2PIX (1.0/PIX2M)
enum {
- STACK = 8192,
- SEC = 1000,
- FPS = 60,
-};
-
-enum {
Stheta = 0,
Spos,
Svel,
@@ -18,15 +11,10 @@ enum {
SLEN,
};
-typedef struct Vector Vector;
-typedef double Matrix[3][3];
typedef struct Projectile Projectile;
-struct Vector {
- double x, y, w;
-};
-
-struct Projectile {
- Vector p, v;
+struct Projectile
+{
+ Point2 p, v;
double mass;
};