From debeee56f721178d44f71deb4e303b825d1dccd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 24 Mar 2017 21:45:31 +0100 Subject: Fix typos in source code using codespell From https://github.com/lucasdemarchi/codespell --- servers/visual/rasterizer.cpp | 2 +- servers/visual/rasterizer.h | 2 +- servers/visual/shader_language.cpp | 6 +++--- servers/visual/visual_server_scene.cpp | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'servers/visual') diff --git a/servers/visual/rasterizer.cpp b/servers/visual/rasterizer.cpp index fdcc4f5633..1be65be927 100644 --- a/servers/visual/rasterizer.cpp +++ b/servers/visual/rasterizer.cpp @@ -610,7 +610,7 @@ void Rasterizer::_free_fixed_material(const RID& p_material) { void Rasterizer::flush_frame() { - //not really necesary to implement + //not really necessary to implement } Rasterizer::Rasterizer() { diff --git a/servers/visual/rasterizer.h b/servers/visual/rasterizer.h index 527230895c..838ddead75 100644 --- a/servers/visual/rasterizer.h +++ b/servers/visual/rasterizer.h @@ -1489,7 +1489,7 @@ public: virtual void end_shadow_map()=0; virtual void end_frame()=0; - virtual void flush_frame(); //not necesary in most cases + virtual void flush_frame(); //not necessary in most cases /* CANVAS API */ diff --git a/servers/visual/shader_language.cpp b/servers/visual/shader_language.cpp index 3bc495f08e..bc4452d5a8 100644 --- a/servers/visual/shader_language.cpp +++ b/servers/visual/shader_language.cpp @@ -2820,7 +2820,7 @@ ShaderLanguage::Node *ShaderLanguage::_parse_expression(BlockNode *p_block, cons // this is not invalid and can really appear // but it becomes invalid anyway because no binary op // can be followed by an unary op in a valid combination, - // due to how precedence works, unaries will always dissapear first + // due to how precedence works, unaries will always disappear first _set_error("Parser bug.."); } @@ -3374,7 +3374,7 @@ Error ShaderLanguage::_parse_shader(const Mapdynamic.bake_dynamic_range)) / 1024.0; } //super quick and dirty compression - //find 2 most futher apart + //find 2 most further apart float distance = 0; Vector3 from, to; @@ -3001,7 +3001,7 @@ void VisualServerScene::_bake_gi_probe(Instance *p_gi_probe) { } } - //by default, 1 is black, otherwise it will be overriden by source + //by default, 1 is black, otherwise it will be overridden by source uint32_t index_block[16] = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }; -- cgit v1.2.3