faceextents_t: move texmins out of structure

This commit is contained in:
Eric Wasylishen 2022-11-02 09:21:42 -06:00
parent 9edadf93cd
commit 02202b81bb
2 changed files with 1 additions and 1 deletions

View File

@ -706,6 +706,7 @@ faceextents_t::faceextents_t(const mface_t &face, const mbsp_t &bsp, float light
bounds += worldpoint; bounds += worldpoint;
} }
qvec2i texmins;
for (int i = 0; i < 2; i++) { for (int i = 0; i < 2; i++) {
tex_bounds[0][i] = floor(tex_bounds[0][i] / lightmapshift); tex_bounds[0][i] = floor(tex_bounds[0][i] / lightmapshift);
tex_bounds[1][i] = ceil(tex_bounds[1][i] / lightmapshift); tex_bounds[1][i] = ceil(tex_bounds[1][i] / lightmapshift);

View File

@ -123,7 +123,6 @@ constexpr size_t MAXDIMENSION = 255 + 1;
class faceextents_t class faceextents_t
{ {
public: public:
qvec2i texmins;
qvec2i texextents; qvec2i texextents;
qmat4x4f worldToTexCoordMatrix; qmat4x4f worldToTexCoordMatrix;
qmat4x4f texCoordToWorldMatrix; qmat4x4f texCoordToWorldMatrix;