fix an #include portability issue

This commit is contained in:
Andrei Alexeyev 2019-09-19 18:32:15 +03:00
parent af0bf87513
commit 1fdc00fc39
No known key found for this signature in database
GPG key ID: 363707CD4C7FE8A4
3 changed files with 2 additions and 5 deletions

View file

@ -8,8 +8,6 @@
#include "taisei.h"
#include <float.h>
#include "global.h"
#include "plrmodes.h"
#include "youmu.h"
@ -240,7 +238,7 @@ static void youmu_particle_slice_draw(Projectile *p, int t) {
if(tt > 0.5) {
f = 1+(tt-0.5)/0.5;
}
r_mat_push();
r_mat_translate(creal(p->pos), cimag(p->pos),0);
r_mat_rotate_deg(p->angle/M_PI*180,0,0,1);

View file

@ -18,6 +18,7 @@
// Common standard library headers
#include <complex.h>
#include <ctype.h>
#include <float.h>
#include <inttypes.h>
#include <limits.h>
#include <math.h>

View file

@ -11,8 +11,6 @@
#include "rectpack.h"
#include "util.h"
#include <limits.h>
/*
* This implements a slightly modified Guillotine rect-packing algorithm.
* All subdivisions are tracked with a tree data structure, which enables fairly