view doc/docs/dev/api/core/maths.md @ 253:c4da052c0def

core: goodbye doxygen
author David Demelier <markand@malikania.fr>
date Thu, 03 Dec 2020 09:06:52 +0100
parents
children cc0f02ae9005
line wrap: on
line source

# Module: maths

Synopsis

```c
#include <core/maths.h>
```

Basic maths.

## Functions

### maths\_is\_boxed

Check if the coordinates `px`, `py` are withing the bounding rectangle specified
by `x`, `y`, `w` and `h`.

```c
bool
maths_is_boxed(int x, int y, unsigned int w, unsigned int h, int px, int py)
```