Handbook
Glossary
initial-spheres ( -- value )
Vocabulary
gpu
.
demos
.
raytrace
Inputs
None
Outputs
value
an
object
Definition
IN:
gpu.demos.raytrace
CONSTANT:
initial-spheres
{
T{
sphere
{
axis
{
0.0 1.0 0.0
}
}
{
home
{
0.0 0.0 0.0
}
}
{
radius 4.0
}
{
color
{
1.0 0.0 1.0 0.0
}
}
}
T{
sphere
{
axis
{
0.0 1.0 0.0
}
}
{
home
{
7.0 0.0 0.0
}
}
{
dtheta 0.02
}
{
radius 1.0
}
{
color
{
1.0 0.0 0.0 1.0
}
}
}
T{
sphere
{
axis
{
0.0 0.0 -1.0
}
}
{
home
{
-9.0 0.0 0.0
}
}
{
dtheta 0.03
}
{
radius 1.0
}
{
color
{
0.0 1.0 0.0 1.0
}
}
}
T{
sphere
{
axis
{
1.0 0.0 0.0
}
}
{
home
{
0.0 5.0 0.0
}
}
{
dtheta 0.025
}
{
radius 1.0
}
{
color
{
1.0 1.0 0.0 1.0
}
}
}
}
inline