diff options
author | Norbert Preining <norbert@preining.info> | 2021-12-28 03:01:00 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-12-28 03:01:00 +0000 |
commit | ecdf859b6ce481abfd530425dcf6f0f764bd0001 (patch) | |
tree | 13bc161dc046876ac6c92fce5f9f5034ba9aa573 /graphics/asymptote/base/three_light.asy | |
parent | 790995b7e79697514364450bf9c04f1b8d500838 (diff) |
CTAN sync 202112280300
Diffstat (limited to 'graphics/asymptote/base/three_light.asy')
-rw-r--r-- | graphics/asymptote/base/three_light.asy | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/asymptote/base/three_light.asy b/graphics/asymptote/base/three_light.asy index 46b0fef7d0..f17a4324c9 100644 --- a/graphics/asymptote/base/three_light.asy +++ b/graphics/asymptote/base/three_light.asy @@ -1,7 +1,7 @@ struct material { pen[] p; // diffusepen,emissivepen,specularpen real opacity; - real shininess; + real shininess; real metallic; real fresnel0; // Reflectance rate at a perfect normal angle. @@ -34,7 +34,7 @@ struct material { void specular(pen q) {p[2]=q;} } -material operator init() +material operator init() { return material(); } @@ -57,7 +57,7 @@ void write(string s="", material x, suffix suffix=endl) { write(stdout,s,x,suffix); } - + bool operator == (material m, material n) { return all(m.p == n.p) && m.opacity == n.opacity && |