From 425fe69e0c0cb532210759aff9b296be6715c7ca Mon Sep 17 00:00:00 2001 From: Marco Maia Date: Thu, 28 Mar 2024 07:22:41 -0300 Subject: [PATCH] Comment wording --- src/raylib.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/raylib.h b/src/raylib.h index d42641ab4..5c0d73644 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -195,10 +195,12 @@ #define RL_BOOL_TYPE #endif -// TODO(marco): Improve wording. -// Note: The following types have its own define guards because they are -// redefined in other files. So it's here to avoid redefinition in other file -// and to enable header inclusion reordering. +// NOTE: In the following types we set some defines with some data types +// declared by raylib's other modules (raymath, rlgl), they also require some of +// those types, so, to be able to use those other modules as standalone (not +// depending on raylib), add include guard to be able to include the headers in +// any order, these defines are useful for internal checks and to avoid type +// redefinitions. #if !defined(RL_VECTOR2_TYPE) // Vector2, 2 components