sarmfsw: SMFSW Toolbox (for ARM & compatible with Arduino platform) 3.7
SMFSW collection of miscellaneous functions & macros (for ARM & compatible with Arduino platform)
|
Rotation inlines. More...
#include <math.h>
Data Structures | |
struct | sCoord2D |
2D coordinates structure More... | |
Typedefs | |
typedef struct sCoord2D | sCoord2D |
Functions | |
sCoord2D | rotate_2D (const sCoord2D c, const SWORD angle) |
2D Coordinates rotation | |
Rotation inlines.
typedef struct sCoord2D sCoord2D |
2D Coordinates rotation
[in] | c | - Coordinates to rotate |
[in] | angle | - Rotation angle (in degrees, counter clockwise) |