From 569d4cfba7d5d7b3c194b05625d4fd1f660f55bf Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 20 Feb 2023 15:23:35 +0100 Subject: [PATCH] Cleanup: Remove unused fields from ShadowPunctual --- source/blender/draw/engines/eevee_next/eevee_shadow.hh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/blender/draw/engines/eevee_next/eevee_shadow.hh b/source/blender/draw/engines/eevee_next/eevee_shadow.hh index 5106bac7b18..01501ad4627 100644 --- a/source/blender/draw/engines/eevee_next/eevee_shadow.hh +++ b/source/blender/draw/engines/eevee_next/eevee_shadow.hh @@ -338,16 +338,12 @@ class ShadowPunctual : public NonCopyable, NonMovable { float size_x_, size_y_; /** Shape type. */ eLightType light_type_; - /** Random position on the light. In world space. */ - float3 random_offset_; /** Light position. */ float3 position_; /** Near and far clip distances. */ float far_, near_; /** Number of tile-maps needed to cover the light angular extents. */ int tilemaps_needed_; - /** Visibility cone angle from the light source. */ - int cone_aperture_; public: ShadowPunctual(ShadowModule &module) : shadows_(module){}; -- 2.30.2