Skip to content

Commit 46046bf

Browse files
committed
Review spacing
1 parent bc29720 commit 46046bf

1 file changed

Lines changed: 17 additions & 22 deletions

File tree

src/physac.h

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,6 @@
7373
#if !defined(PHYSAC_H)
7474
#define PHYSAC_H
7575

76-
// #define PHYSAC_STATIC
77-
// #define PHYSAC_NO_THREADS
78-
// #define PHYSAC_STANDALONE
79-
// #define PHYSAC_DEBUG
80-
8176
#if defined(PHYSAC_STATIC)
8277
#define PHYSACDEF static // Functions just visible to module including this file
8378
#else
@@ -91,20 +86,20 @@
9186
//----------------------------------------------------------------------------------
9287
// Defines and Macros
9388
//----------------------------------------------------------------------------------
94-
#define PHYSAC_MAX_BODIES 64
95-
#define PHYSAC_MAX_MANIFOLDS 4096
96-
#define PHYSAC_MAX_VERTICES 24
97-
#define PHYSAC_CIRCLE_VERTICES 24
89+
#define PHYSAC_MAX_BODIES 64
90+
#define PHYSAC_MAX_MANIFOLDS 4096
91+
#define PHYSAC_MAX_VERTICES 24
92+
#define PHYSAC_CIRCLE_VERTICES 24
9893

99-
#define PHYSAC_COLLISION_ITERATIONS 100
100-
#define PHYSAC_PENETRATION_ALLOWANCE 0.05f
101-
#define PHYSAC_PENETRATION_CORRECTION 0.4f
94+
#define PHYSAC_COLLISION_ITERATIONS 100
95+
#define PHYSAC_PENETRATION_ALLOWANCE 0.05f
96+
#define PHYSAC_PENETRATION_CORRECTION 0.4f
10297

103-
#define PHYSAC_PI 3.14159265358979323846
104-
#define PHYSAC_DEG2RAD (PHYSAC_PI/180.0f)
98+
#define PHYSAC_PI 3.14159265358979323846
99+
#define PHYSAC_DEG2RAD (PHYSAC_PI/180.0f)
105100

106-
#define PHYSAC_MALLOC(size) malloc(size)
107-
#define PHYSAC_FREE(ptr) free(ptr)
101+
#define PHYSAC_MALLOC(size) malloc(size)
102+
#define PHYSAC_FREE(ptr) free(ptr)
108103

109104
//----------------------------------------------------------------------------------
110105
// Types and Structures Definition
@@ -263,12 +258,12 @@ PHYSACDEF void ClosePhysics(void);
263258
//----------------------------------------------------------------------------------
264259
// Defines and Macros
265260
//----------------------------------------------------------------------------------
266-
#define min(a,b) (((a)<(b))?(a):(b))
267-
#define max(a,b) (((a)>(b))?(a):(b))
268-
#define PHYSAC_FLT_MAX 3.402823466e+38f
269-
#define PHYSAC_EPSILON 0.000001f
270-
#define PHYSAC_K 1.0f/3.0f
271-
#define PHYSAC_VECTOR_ZERO (Vector2){ 0.0f, 0.0f }
261+
#define min(a,b) (((a)<(b))?(a):(b))
262+
#define max(a,b) (((a)>(b))?(a):(b))
263+
#define PHYSAC_FLT_MAX 3.402823466e+38f
264+
#define PHYSAC_EPSILON 0.000001f
265+
#define PHYSAC_K 1.0f/3.0f
266+
#define PHYSAC_VECTOR_ZERO (Vector2){ 0.0f, 0.0f }
272267

273268
//----------------------------------------------------------------------------------
274269
// Global Variables Definition

0 commit comments

Comments
 (0)