Skip to content

Commit

Permalink
Add types for Physics to the common lib.
Browse files Browse the repository at this point in the history
  • Loading branch information
aTxr committed Jan 12, 2022
1 parent 4e11831 commit 9fbee01
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions include/lib/lib.h
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#ifndef LIB_H
#define LIB_H

typedef struct Vel
{
int dx;
int dy;
} Vel ;
#include <tuple>

typedef std::pair<unsigned int, unsigned int> Vec;
typedef std::pair<int, int> Vel;

typedef struct phxParam
{
Vec position;
Vel velocity;
} phxParam;

enum Force {weight};

#endif
#endif

0 comments on commit 9fbee01

Please sign in to comment.