diff options
author | Norbert Preining <norbert@preining.info> | 2021-06-04 03:02:48 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-06-04 03:02:48 +0000 |
commit | a5ae129f3aa3a3a0aeaa21c55b75a1d543fe4111 (patch) | |
tree | fe5e1e212aec203e668df8581a17374cdde352a1 /graphics/circuit_macros/examples/Planes.m4 | |
parent | d231c6331f53a048d29c2f847254a9f56d5ee2dd (diff) |
CTAN sync 202106040302
Diffstat (limited to 'graphics/circuit_macros/examples/Planes.m4')
-rw-r--r-- | graphics/circuit_macros/examples/Planes.m4 | 8 |
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) |