mirror of
https://github.com/raysan5/raylib.git
synced 2025-11-16 07:11:11 +00:00
Remove some unneeded line breaks
This commit is contained in:
@@ -1694,7 +1694,6 @@ void WaitTime(double seconds)
|
|||||||
// NOTE: Functions with a platform-specific implementation on rcore_<platform>.c
|
// NOTE: Functions with a platform-specific implementation on rcore_<platform>.c
|
||||||
//void OpenURL(const char *url)
|
//void OpenURL(const char *url)
|
||||||
|
|
||||||
|
|
||||||
// Set the seed for the random number generator
|
// Set the seed for the random number generator
|
||||||
void SetRandomSeed(unsigned int seed)
|
void SetRandomSeed(unsigned int seed)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -120,7 +120,6 @@
|
|||||||
#define RLAPI __declspec(dllimport) // We are using the library as a Win32 shared library (.dll)
|
#define RLAPI __declspec(dllimport) // We are using the library as a Win32 shared library (.dll)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// Function specifiers definition
|
// Function specifiers definition
|
||||||
#ifndef RLAPI
|
#ifndef RLAPI
|
||||||
#define RLAPI // Functions defined as 'extern' by default (implicit specifiers)
|
#define RLAPI // Functions defined as 'extern' by default (implicit specifiers)
|
||||||
@@ -3412,7 +3411,6 @@ void rlGenTextureMipmaps(unsigned int id, int width, int height, int format, int
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Read texture pixel data
|
// Read texture pixel data
|
||||||
void *rlReadTexturePixels(unsigned int id, int width, int height, int format)
|
void *rlReadTexturePixels(unsigned int id, int width, int height, int format)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -71,7 +71,6 @@
|
|||||||
#define SPLINE_SEGMENT_DIVISIONS 24 // Spline segment divisions
|
#define SPLINE_SEGMENT_DIVISIONS 24 // Spline segment divisions
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
//----------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------
|
||||||
// Types and Structures Definition
|
// Types and Structures Definition
|
||||||
//----------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -1112,7 +1112,6 @@ bool ExportFontAsCode(Font font, const char *fileName)
|
|||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Draw current FPS
|
// Draw current FPS
|
||||||
// NOTE: Uses default font
|
// NOTE: Uses default font
|
||||||
void DrawFPS(int posX, int posY)
|
void DrawFPS(int posX, int posY)
|
||||||
@@ -1438,7 +1437,6 @@ const char *TextFormat(const char *text, ...)
|
|||||||
return currentBuffer;
|
return currentBuffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Get integer value from text
|
// Get integer value from text
|
||||||
// NOTE: This function replaces atoi() [stdlib.h]
|
// NOTE: This function replaces atoi() [stdlib.h]
|
||||||
int TextToInteger(const char *text)
|
int TextToInteger(const char *text)
|
||||||
|
|||||||
@@ -1648,7 +1648,6 @@ void ImageResizeNN(Image *image,int newWidth,int newHeight)
|
|||||||
UnloadImageColors(pixels);
|
UnloadImageColors(pixels);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Resize and image to new size
|
// Resize and image to new size
|
||||||
// NOTE: Uses stb default scaling filters (both bicubic):
|
// NOTE: Uses stb default scaling filters (both bicubic):
|
||||||
// STBIR_DEFAULT_FILTER_UPSAMPLE STBIR_FILTER_CATMULLROM
|
// STBIR_DEFAULT_FILTER_UPSAMPLE STBIR_FILTER_CATMULLROM
|
||||||
@@ -2102,7 +2101,6 @@ void ImageBlurGaussian(Image *image, int blurSize) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Reverse premultiply
|
// Reverse premultiply
|
||||||
for (int i = 0; i < (image->width)*(image->height); i++)
|
for (int i = 0; i < (image->width)*(image->height); i++)
|
||||||
{
|
{
|
||||||
@@ -2152,7 +2150,6 @@ void ImageKernelConvolution(Image *image, float* kernel, int kernelSize)
|
|||||||
Vector4 *imageCopy2 = RL_MALLOC((image->height)*(image->width)*sizeof(Vector4));
|
Vector4 *imageCopy2 = RL_MALLOC((image->height)*(image->width)*sizeof(Vector4));
|
||||||
Vector4 *temp = RL_MALLOC(kernelSize*sizeof(Vector4));
|
Vector4 *temp = RL_MALLOC(kernelSize*sizeof(Vector4));
|
||||||
|
|
||||||
|
|
||||||
for (int i = 0; i < kernelSize; i++)
|
for (int i = 0; i < kernelSize; i++)
|
||||||
{
|
{
|
||||||
temp[i].x = 0.0f;
|
temp[i].x = 0.0f;
|
||||||
|
|||||||
Reference in New Issue
Block a user