Handbook
Glossary
run2 ( -- )
Vocabulary
nehe
.
2
Inputs
None
Outputs
None
Definition
USING:
accessors
kernel
ui
ui.gadgets.worlds
ui.pixel-formats
;
IN:
nehe.2
:
run2
( -- )
[
f
T{
world-attributes
{
title
"NeHe Tutorial 2"
}
{
pixel-format-attributes
{
windowed
double-buffered
T{
depth-bits
{
value 16
}
}
}
}
{
pref-dim
{
256 256
}
}
}
clone
<nehe2-gadget>
>>gadgets
open-window
]
with-ui
;