1
0
Fork 0
mirror of https://git.coom.tech/drummyfish/raycastlib.git synced 2024-11-21 20:29:59 +01:00

Add and test doxyfile

This commit is contained in:
Miloslav Číž 2019-06-26 21:41:35 +02:00
parent 5e94a35565
commit c36fa9bbd7
2 changed files with 2431 additions and 4 deletions

2427
Doxyfile Normal file

File diff suppressed because it is too large Load diff

View file

@ -2,6 +2,8 @@
#define RAYCASTLIB_H #define RAYCASTLIB_H
/** /**
@file raycastlib.h
raycastlib (RCL) - Small C header-only raycasting library for embedded and raycastlib (RCL) - Small C header-only raycasting library for embedded and
low performance computers, such as Arduino. Only uses integer math and stdint low performance computers, such as Arduino. Only uses integer math and stdint
standard library. standard library.
@ -52,9 +54,7 @@
#include <stdint.h> #include <stdint.h>
#ifndef RCL_RAYCAST_TINY /** Turns on super efficient version of this library. #ifndef RCL_RAYCAST_TINY
Only use if neccesarry, looks ugly. Also not done
yet. */
#define RCL_UNITS_PER_SQUARE 1024 /**< Number of RCL_Units in a side of a #define RCL_UNITS_PER_SQUARE 1024 /**< Number of RCL_Units in a side of a
spatial square. */ spatial square. */
typedef int32_t RCL_Unit; /**< Smallest spatial unit, there is typedef int32_t RCL_Unit; /**< Smallest spatial unit, there is
@ -378,7 +378,7 @@ RCL_Unit RCL_len(RCL_Vector2D v);
*/ */
RCL_Unit RCL_degreesToUnitsAngle(int16_t degrees); RCL_Unit RCL_degreesToUnitsAngle(int16_t degrees);
///< Computes the change in size of an object due to perspective. /** Computes the change in size of an object due to perspective. */
RCL_Unit RCL_perspectiveScale(RCL_Unit originalSize, RCL_Unit distance); RCL_Unit RCL_perspectiveScale(RCL_Unit originalSize, RCL_Unit distance);
RCL_Unit RCL_perspectiveScaleInverse(RCL_Unit originalSize, RCL_Unit RCL_perspectiveScaleInverse(RCL_Unit originalSize,