mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Working trinagle interpolation
Fixed triangle interpolation, both parametric and color. Started developing Tensor Product gradient. (Does not work for now) A bit of refactoring.
This commit is contained in:
@ -39,6 +39,7 @@ struct Info {
|
||||
c = {(LONG)0xFFff0000, (LONG)0xFFffa500, (LONG)0xFFffff00, (LONG)0xFF008000, (LONG)0xFF0000ff, (LONG)0xFFFF00FF};
|
||||
p = {0.0,0.2,0.4,0.6,0.8,1};
|
||||
n_colors = 6;
|
||||
ginfo.shading.parametrised_triangle_shading = false;
|
||||
};
|
||||
~Info() {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user