mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-27 22:30:33 +05:00
17 lines
304 B
GLSL
17 lines
304 B
GLSL
|
#
|
||
|
## A cube
|
||
|
#
|
||
|
algebraic3d
|
||
|
|
||
|
# cube consisting of 6 planes:
|
||
|
|
||
|
solid cube = plane (0, 0, 0; 0, 0, -1)
|
||
|
and plane (0, 0, 0; 0, -1, 0)
|
||
|
and plane (0, 0, 0; -1, 0, 0)
|
||
|
and plane (1, 1, 1; 0, 0, 1)
|
||
|
and plane (1, 1, 1; 0, 1, 0)
|
||
|
and plane (1, 1, 1; 1, 0, 0);
|
||
|
|
||
|
tlo cube;
|
||
|
|