1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-05 19:31:04 +00:00

Remove trailing whitespace (#13505)

This commit is contained in:
Thresher 2023-05-18 14:34:18 -04:00 committed by GitHub
parent 95a9f4ab7c
commit 180ec92ef9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
44 changed files with 81 additions and 81 deletions

View file

@ -85,7 +85,7 @@ void populateAnaglyphPipeline(RenderPipeline *pipeline, Client *client)
// reset
pipeline->addStep<OffsetCameraStep>(0.0f);
pipeline->addStep<SetColorMaskStep>(video::ECP_ALL);
pipeline->addStep<DrawWield>();
pipeline->addStep<MapPostFxStep>();
pipeline->addStep<DrawHUD>();

View file

@ -37,7 +37,7 @@ private:
/**
* Resets depth buffer of the current render target
*
*
*/
class ClearDepthBufferTarget : public RenderTarget
{
@ -53,7 +53,7 @@ private:
/**
* Enables or disables override material when activated
*
*
*/
class ConfigureOverrideMaterialTarget : public RenderTarget
{

View file

@ -23,9 +23,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "client/shadows/dynamicshadowsrender.h"
#include "settings.h"
RenderingCore::RenderingCore(IrrlichtDevice *_device, Client *_client, Hud *_hud,
RenderingCore::RenderingCore(IrrlichtDevice *_device, Client *_client, Hud *_hud,
ShadowRenderer *_shadow_renderer, RenderPipeline *_pipeline, v2f _virtual_size_scale)
: device(_device), client(_client), hud(_hud), shadow_renderer(_shadow_renderer),
: device(_device), client(_client), hud(_hud), shadow_renderer(_shadow_renderer),
pipeline(_pipeline), virtual_size_scale(_virtual_size_scale)
{
}

View file

@ -43,7 +43,7 @@ protected:
v2u32 virtual_size { 0, 0 };
public:
RenderingCore(IrrlichtDevice *device, Client *client, Hud *hud,
RenderingCore(IrrlichtDevice *device, Client *client, Hud *hud,
ShadowRenderer *shadow_renderer, RenderPipeline *pipeline,
v2f virtual_size_scale);
RenderingCore(const RenderingCore &) = delete;

View file

@ -41,7 +41,7 @@ RenderingCore *createRenderingCore(const std::string &stereo_mode, IrrlichtDevic
{
CreatePipelineResult created_pipeline;
createPipeline(stereo_mode, device, client, hud, created_pipeline);
return new RenderingCore(device, client, hud,
return new RenderingCore(device, client, hud,
created_pipeline.shadow_renderer, created_pipeline.pipeline, created_pipeline.virtual_size_scale);
}

View file

@ -24,7 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "client/shader.h"
#include "client/camera.h"
InitInterlacedMaskStep::InitInterlacedMaskStep(TextureBuffer *_buffer, u8 _index) :
InitInterlacedMaskStep::InitInterlacedMaskStep(TextureBuffer *_buffer, u8 _index) :
buffer(_buffer), index(_index)
{
}

View file

@ -80,7 +80,7 @@ public:
};
/**
* UpscaleStep step performs rescaling of the image
* UpscaleStep step performs rescaling of the image
* in the source texture 0 to the size of the target.
*/
class UpscaleStep : public RenderStep

View file

@ -30,7 +30,7 @@ class PostProcessingStep : public RenderStep
public:
/**
* Construct a new PostProcessingStep object
*
*
* @param shader_id ID of the shader in IShaderSource
* @param texture_map Map of textures to be chosen from the render source
*/
@ -44,7 +44,7 @@ public:
/**
* Configure bilinear filtering for a specific texture layer
*
*
* @param index Index of the texture layer
* @param value true to enable the bilinear filter, false to disable
*/

View file

@ -39,7 +39,7 @@ void DrawImageStep::run(PipelineContext &context)
{
if (target)
target->activate(context);
auto texture = source->getTexture(texture_index);
core::dimension2du output_size = context.device->getVideoDriver()->getScreenSize();
v2s32 pos(offset.X * output_size.Width, offset.Y * output_size.Height);