Middle of work with infinite zoom grid

This commit is contained in:
Yousef Khadadeh 2025-09-12 09:54:49 +03:00
parent 1601de4255
commit 8cb89c40d6
8 changed files with 31 additions and 16 deletions

View file

@ -16,6 +16,7 @@ class WorldGrid {
} gridType = GridType::CIRCLE_POINTS;
WorldScalar size{50000000};
bool visible = true;
WorldVec offset{0, 0};
private:
static sk_sp<SkShader> get_shader(GridType gType, const SkColor4f& gridColor, float gridScale);
static sk_sp<SkRuntimeEffect> compile_effect_shader_init(const char* shaderName, const char* shaderCode);