infinipaint/src/DrawData.cpp

10 lines
372 B
C++
Raw Normal View History

2025-07-06 20:43:53 +03:00
#include "DrawData.hpp"
2025-07-20 15:24:44 +03:00
#include "DrawComponents/DrawComponent.hpp"
void DrawData::refresh_draw_optimizing_values() {
clampDrawBetween = true;
clampDrawMinimum = cam.c.inverseScale >> DRAWCOMP_MIN_SHIFT_BEFORE_DISAPPEAR;
mipMapLevelOne = cam.c.inverseScale >> DRAWCOMP_MIPMAP_LEVEL_ONE;
mipMapLevelTwo = cam.c.inverseScale >> DRAWCOMP_MIPMAP_LEVEL_TWO;
}