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:
parent
95a9f4ab7c
commit
180ec92ef9
44 changed files with 81 additions and 81 deletions
|
@ -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>();
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue