summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2023-05-08 18:57:36 +0200
committerRay <[email protected]>2023-05-08 18:57:36 +0200
commitfe595d60f7c15d93e03a5c82c90620dddafa7fc7 (patch)
tree4a45975826a8b410305296522014a9e192ab4529 /src
parent81e2c970950cc9a671b270376065ec6012c28c88 (diff)
downloadraylib-fe595d60f7c15d93e03a5c82c90620dddafa7fc7.tar.gz
raylib-fe595d60f7c15d93e03a5c82c90620dddafa7fc7.zip
Remove trailing spaces
Diffstat (limited to 'src')
-rw-r--r--src/external/rl_gputex.h2
-rw-r--r--src/raymath.h4
-rw-r--r--src/utils.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/external/rl_gputex.h b/src/external/rl_gputex.h
index f7cc00ec..fa39fe29 100644
--- a/src/external/rl_gputex.h
+++ b/src/external/rl_gputex.h
@@ -9,7 +9,7 @@
*
* Note that some file formats (DDS, PVR, KTX) also support uncompressed data storage.
* In those cases data is loaded uncompressed and format is returned.
-*
+*
* TODO:
* - Implement raylib function: rlGetGlTextureFormats(), required by rl_save_ktx_to_memory()
* - Review rl_load_ktx_from_memory() to support KTX v2.2 specs
diff --git a/src/raymath.h b/src/raymath.h
index fbb97048..47728ff6 100644
--- a/src/raymath.h
+++ b/src/raymath.h
@@ -3,10 +3,10 @@
* raymath v1.5 - Math functions to work with Vector2, Vector3, Matrix and Quaternions
*
* CONVENTIONS:
-* - Matrix structure is defined as row-major (memory layout) but parameters naming AND all
+* - Matrix structure is defined as row-major (memory layout) but parameters naming AND all
* math operations performed by the library consider the structure as it was column-major
* It is like transposed versions of the matrices are used for all the maths
-* It benefits some functions making them cache-friendly and also avoids matrix
+* It benefits some functions making them cache-friendly and also avoids matrix
* transpositions sometimes required by OpenGL
* Example: In memory order, row0 is [m0 m4 m8 m12] but in semantic math row0 is [m0 m1 m2 m3]
* - Functions are always self-contained, no function use another raymath function inside,
diff --git a/src/utils.c b/src/utils.c
index 4175fb69..01ca235f 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -298,7 +298,7 @@ bool ExportDataAsCode(const unsigned char *data, unsigned int size, const char *
char varFileName[256] = { 0 };
strcpy(varFileName, GetFileNameWithoutExt(fileName));
for (int i = 0; varFileName[i] != '\0'; i++) if ((varFileName[i] >= 'a') && (varFileName[i] <= 'z')) { varFileName[i] = varFileName[i] - 32; }
-
+
byteCount += sprintf(txtData + byteCount, "#define %s_DATA_SIZE %i\n\n", varFileName, size);
byteCount += sprintf(txtData + byteCount, "static unsigned char %s_DATA[%s_DATA_SIZE] = { ", varFileName, varFileName);