From 33a691f6ab681160b377102aa02e78ccdfaf1ec3 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 17 Oct 2024 18:27:50 +0100 Subject: Misc readability fixes --- gfx/gl/shadowStenciller.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gfx/gl/shadowStenciller.cpp') diff --git a/gfx/gl/shadowStenciller.cpp b/gfx/gl/shadowStenciller.cpp index 89b61cc..eab4797 100644 --- a/gfx/gl/shadowStenciller.cpp +++ b/gfx/gl/shadowStenciller.cpp @@ -67,8 +67,8 @@ ShadowStenciller::renderStencil(const glTexture & stencil, const MeshBase & mesh glUniform(viewProjectionLoc, std::span {viewProjections * [extentsMat = glm::translate(glm::ortho(-size, size, -size, size, -size, size), -centre)]( - const auto & vp) { - return vp * extentsMat; - }}); + const auto & viewProjection) { + return viewProjection * extentsMat; + }}); mesh.Draw(); } -- cgit v1.2.3