Middle of work with infinite zoom grid
This commit is contained in:
parent
1601de4255
commit
8cb89c40d6
8 changed files with 31 additions and 16 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue