mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-15 10:28:34 +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;
|
||
|
|