From 3d132ead502f792fc67117bad5d101c137f33fef Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 31 Mar 2022 13:00:10 +1100 Subject: Cleanup: spelling, trailing space for comment-blocks --- source/blender/draw/engines/image/image_drawing_mode.hh | 4 ++-- source/blender/draw/engines/image/image_usage.hh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/draw/engines') diff --git a/source/blender/draw/engines/image/image_drawing_mode.hh b/source/blender/draw/engines/image/image_drawing_mode.hh index f43bbadfa91..14529797405 100644 --- a/source/blender/draw/engines/image/image_drawing_mode.hh +++ b/source/blender/draw/engines/image/image_drawing_mode.hh @@ -58,7 +58,7 @@ struct OneTextureMethod { { /* Although this works, computing an inverted matrix adds some precision issues and leads to * tearing artifacts. This should be modified to use the scaling and transformation from the - * not inverted matrix.*/ + * not inverted matrix. */ float4x4 mat(instance_data->ss_to_texture); float4x4 mat_inv = mat.inverted(); float3 min_uv = mat_inv * float3(0.0f, 0.0f, 0.0f); @@ -420,7 +420,7 @@ template class ScreenSpaceDrawingMode : public AbstractD /* IMB_transform works in a non-consistent space. This should be documented or fixed!. * Construct a variant of the info_uv_to_texture that adds the texel space - * transformation.*/ + * transformation. */ float uv_to_texel[4][4]; copy_m4_m4(uv_to_texel, instance_data.ss_to_texture); float scale[3] = {static_cast(texture_width) / static_cast(tile_buffer.x), diff --git a/source/blender/draw/engines/image/image_usage.hh b/source/blender/draw/engines/image/image_usage.hh index bea5c3853b0..f4ba3f495ce 100644 --- a/source/blender/draw/engines/image/image_usage.hh +++ b/source/blender/draw/engines/image/image_usage.hh @@ -14,7 +14,7 @@ struct ImageUsage { /** Render pass of the image that is used. */ short pass = 0; - /** Layer of the image that is used.*/ + /** Layer of the image that is used. */ short layer = 0; /** View of the image that is used. */ short view = 0; -- cgit v1.2.3