From e4e12acc4c4b4a5fc45dc52369fd60e2dc141fe0 Mon Sep 17 00:00:00 2001 From: Clement Date: Wed, 26 Jan 2022 20:02:59 +0100 Subject: [PATCH] Added vector and bugFix unsigned double --- include/lib/lib.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/lib/lib.h b/include/lib/lib.h index fd850a9..52d6b25 100644 --- a/include/lib/lib.h +++ b/include/lib/lib.h @@ -2,6 +2,7 @@ #define LIB_H #include +#include #define NB_KEYS 256 @@ -15,7 +16,7 @@ typedef struct PhxParam unsigned int mass; short gravityReaction; //-1 if the PhysicalEntity is likely to fly - unsigned double bouncyness; // [0,1] absorb every momentum (0) or none (1), maybe it will increase it's internal energy ( to satisfy conservation of energy) + double bouncyness; // [0,1] absorb every momentum (0) or none (1), maybe it will increase it's internal energy ( to satisfy conservation of energy) double internalEnergy; //for characters that can absorb energy and then liberate it ? } PhxParam;