mirror of
https://git.coom.tech/drummyfish/raycastlib.git
synced 2024-11-21 20:29:59 +01:00
Fix comments
This commit is contained in:
parent
f77522efb6
commit
4cb6c381bf
1 changed files with 2 additions and 4 deletions
|
@ -30,7 +30,7 @@
|
||||||
#ifndef RAYCAST_TINY /** Turns on super efficient version of this library. Only
|
#ifndef RAYCAST_TINY /** Turns on super efficient version of this library. Only
|
||||||
use if neccesarry, looks ugly. */
|
use if neccesarry, looks ugly. */
|
||||||
#define UNITS_PER_SQUARE 1024 ///< N. of Units in a side of a spatial square.
|
#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
|
units in a square's length. This effectively
|
||||||
serves the purpose of a fixed-point arithmetic. */
|
serves the purpose of a fixed-point arithmetic. */
|
||||||
#define UNIT_INFINITY 5000000;
|
#define UNIT_INFINITY 5000000;
|
||||||
|
@ -155,8 +155,6 @@ typedef struct
|
||||||
Unit doorRoll; ///< Holds value of door roll.
|
Unit doorRoll; ///< Holds value of door roll.
|
||||||
} HitResult;
|
} HitResult;
|
||||||
|
|
||||||
// TODO: things like FOV could be constants to make them precomp. and faster?
|
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
Vector2D position;
|
Vector2D position;
|
||||||
|
@ -169,7 +167,7 @@ typedef struct
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Holds an information about a single rendered pixel (for a pixel function
|
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
|
typedef struct
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue