summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/asymptote/three_light.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/asymptote/three_light.asy')
-rw-r--r--Master/texmf-dist/asymptote/three_light.asy6
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/asymptote/three_light.asy b/Master/texmf-dist/asymptote/three_light.asy
index 46b0fef7d0e..f17a4324c90 100644
--- a/Master/texmf-dist/asymptote/three_light.asy
+++ b/Master/texmf-dist/asymptote/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 &&