mirror of
https://git.planet-casio.com/Fcalva/Copy3DEngine.git
synced 2024-12-28 20:43:44 +01:00
20 lines
386 B
C
20 lines
386 B
C
// Voir README.md pour license précise, par Fcalva 2023-2024 et est sous GPLv3
|
|
// See README.md for the exact licensing, by ...
|
|
|
|
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
#include "fixed.h"
|
|
|
|
#define min(x, xmin) (x > xmin ? xmin:x)
|
|
|
|
typedef struct {
|
|
int x0,x1;
|
|
int y0,y1;
|
|
} Rect;
|
|
|
|
bool rect_rect_coll(Rect *a, Rect *b);
|
|
|
|
int cmpfunc (const void * a, const void * b);
|