From 6083d2b9f3a508c87bf88ceeb29e603b00a9a7e8 Mon Sep 17 00:00:00 2001 From: Benjamin Schmid Ties <76067254+benjibst@users.noreply.github.com> Date: Wed, 13 Dec 2023 21:20:13 +0100 Subject: fixed coding style in function TextToFloat (#3627) * function to convert string to float * fix code to match coding conventions --- src/raylib.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/raylib.h') diff --git a/src/raylib.h b/src/raylib.h index fd870c18..d5eafe7f 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1481,6 +1481,7 @@ RLAPI const char *TextToUpper(const char *text); // Get upp RLAPI const char *TextToLower(const char *text); // Get lower case version of provided string RLAPI const char *TextToPascal(const char *text); // Get Pascal case notation version of provided string RLAPI int TextToInteger(const char *text); // Get integer value from text (negative values not supported) +RLAPI float TextToFloat(const char *text); // Get float value from text (negative values not supported) //------------------------------------------------------------------------------------ // Basic 3d Shapes Drawing Functions (Module: models) -- cgit v1.2.3 From 387506faab0339dea6854dd79b80282d528428c8 Mon Sep 17 00:00:00 2001 From: Matthew Oros <32916949+orosmatthew@users.noreply.github.com> Date: Wed, 13 Dec 2023 15:22:44 -0500 Subject: [rcore] Remove unused vScreenCenter (#3632) --- examples/core/core_vr_simulator.c | 1 - src/raylib.h | 1 - 2 files changed, 2 deletions(-) (limited to 'src/raylib.h') diff --git a/examples/core/core_vr_simulator.c b/examples/core/core_vr_simulator.c index fc2dee6b..9acea197 100644 --- a/examples/core/core_vr_simulator.c +++ b/examples/core/core_vr_simulator.c @@ -39,7 +39,6 @@ int main(void) .vResolution = 1200, // Vertical resolution in pixels .hScreenSize = 0.133793f, // Horizontal size in meters .vScreenSize = 0.0669f, // Vertical size in meters - .vScreenCenter = 0.04678f, // Screen center in meters .eyeToScreenDistance = 0.041f, // Distance between eye and display in meters .lensSeparationDistance = 0.07f, // Lens separation distance in meters .interpupillaryDistance = 0.07f, // IPD (distance between pupils) in meters diff --git a/src/raylib.h b/src/raylib.h index d5eafe7f..206b2657 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -484,7 +484,6 @@ typedef struct VrDeviceInfo { int vResolution; // Vertical resolution in pixels float hScreenSize; // Horizontal size in meters float vScreenSize; // Vertical size in meters - float vScreenCenter; // Screen center in meters float eyeToScreenDistance; // Distance between eye and display in meters float lensSeparationDistance; // Lens separation distance in meters float interpupillaryDistance; // IPD (distance between pupils) in meters -- cgit v1.2.3