From 02202b81bb10ef376bbdd1aed24b7dfe38b8ae4c Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Wed, 2 Nov 2022 09:21:42 -0600 Subject: [PATCH] faceextents_t: move texmins out of structure --- common/bsputils.cc | 1 + include/common/bsputils.hh | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/common/bsputils.cc b/common/bsputils.cc index 2c195d24..374d0c5a 100644 --- a/common/bsputils.cc +++ b/common/bsputils.cc @@ -706,6 +706,7 @@ faceextents_t::faceextents_t(const mface_t &face, const mbsp_t &bsp, float light bounds += worldpoint; } + qvec2i texmins; for (int i = 0; i < 2; i++) { tex_bounds[0][i] = floor(tex_bounds[0][i] / lightmapshift); tex_bounds[1][i] = ceil(tex_bounds[1][i] / lightmapshift); diff --git a/include/common/bsputils.hh b/include/common/bsputils.hh index 3b600abe..36a20f3e 100644 --- a/include/common/bsputils.hh +++ b/include/common/bsputils.hh @@ -123,7 +123,6 @@ constexpr size_t MAXDIMENSION = 255 + 1; class faceextents_t { public: - qvec2i texmins; qvec2i texextents; qmat4x4f worldToTexCoordMatrix; qmat4x4f texCoordToWorldMatrix;