summaryrefslogtreecommitdiff
path: root/graphics/circuit_macros/examples/Planes.m4
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/circuit_macros/examples/Planes.m4')
-rw-r--r--graphics/circuit_macros/examples/Planes.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/circuit_macros/examples/Planes.m4 b/graphics/circuit_macros/examples/Planes.m4
index 726af31c56..b9d0579c69 100644
--- a/graphics/circuit_macros/examples/Planes.m4
+++ b/graphics/circuit_macros/examples/Planes.m4
@@ -77,10 +77,10 @@ ifelse(1,1,`
# Recover the 4th corner and draw
define(`drawfacet',`
- NW_facet: project(xyz(($1)*3))
- NE_facet: project(xyz(($1)*3+1))
- SE_facet: project(xyz(($1)*3+2))
- SW_facet: project(x[($1)*3+2],y[($1)*3],z[($1)*3])
+ NW_facet: Project(xyz(($1)*3))
+ NE_facet: Project(xyz(($1)*3+1))
+ SE_facet: Project(xyz(($1)*3+2))
+ SW_facet: Project(x[($1)*3+2],y[($1)*3],z[($1)*3])
shd = 1-($2)^4
line from SW_facet to SE_facet then to NE_facet \
then to NW_facet then to SW_facet shaded rgbstring(shd,shd,shd)