mirror of
https://github.com/zoriya/Gamacon.git
synced 2026-05-27 09:01:51 +00:00
Coding style
This commit is contained in:
@@ -33,4 +33,6 @@ gc_vector2 p2, gc_vector2 q2);
|
||||
//! @param p Position of the point to check
|
||||
bool is_point_in_polygon(gc_vector2 *polygon, int n, gc_vector2 p);
|
||||
|
||||
#define INF 10000
|
||||
|
||||
#endif //MY3D_TILE_COLLISION_MANAGER_H
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
#include "map_utils.h"
|
||||
#include <math.h>
|
||||
|
||||
#define INF 10000
|
||||
|
||||
bool is_on_segment(gc_vector2 p, gc_vector2 q, gc_vector2 r)
|
||||
{
|
||||
if (q.x <= fmaxf(p.x, r.x) && q.x >= fminf(p.x, r.x) && \
|
||||
|
||||
Reference in New Issue
Block a user