From 4cb6c381bfc3b0dc537717550d5c86fb07f0ea86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20=C4=8C=C3=AD=C5=BE?= Date: Mon, 17 Sep 2018 08:26:25 +0200 Subject: [PATCH] Fix comments --- raycastlib.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/raycastlib.h b/raycastlib.h index 1211b8d..9db972a 100644 --- a/raycastlib.h +++ b/raycastlib.h @@ -30,7 +30,7 @@ #ifndef RAYCAST_TINY /** Turns on super efficient version of this library. Only use if neccesarry, looks ugly. */ #define UNITS_PER_SQUARE 1024 ///< N. of Units in a side of a spatial square. - typedef int32_t Unit; /**< Smallest spatial unit, there is UNITS_PER_SQUARE + typedef int32_t Unit; /**< Smaller spatial unit, there is UNITS_PER_SQUARE units in a square's length. This effectively serves the purpose of a fixed-point arithmetic. */ #define UNIT_INFINITY 5000000; @@ -155,8 +155,6 @@ typedef struct Unit doorRoll; ///< Holds value of door roll. } HitResult; -// TODO: things like FOV could be constants to make them precomp. and faster? - typedef struct { Vector2D position; @@ -169,7 +167,7 @@ typedef struct /** Holds an information about a single rendered pixel (for a pixel function - that works as a fragment shader. + that works as a fragment shader). */ typedef struct {