opengl.demo-support vocabulary
Factor handbook > Vocabulary index


Summary
Common support for OpenGL demos

Meta-data
Tags:opengl
Authors:Joe Groff


Words

Tuple classes
ClassSuperclassSlots
demo-world worldyaw pitch distance


Generic words
WordStack effect
distance-step( gadget -- dz )
far-plane( gadget -- z )
near-plane( gadget -- z )


Symbol words
last-drag-loc


Ordinary words
WordStack effect
-+( x -- -x x )
FOV( -- value )
KEY-ROTATE-STEP( -- value )
MOUSE-MOTION-SCALE( -- value )
demo-world-frustum( world -- -x x -y y near far )
demo-world-set-matrix( gadget -- )
do-state( mode quot -- )
drag-yaw-pitch( -- yaw pitch )
fov-ratio( gadget -- fov )
gl-normal( normal -- )
gl-vertex( point -- )
last-drag-rel( -- rel )
pitch-demo-world( pitch gadget -- )
rect-vertices( lower-left upper-right -- )
reset-last-drag-rel( -- )
set-demo-orientation( world yaw pitch distance -- world )
yaw-demo-world( yaw gadget -- )
zoom-demo-world( distance gadget -- )


Class predicate words
WordStack effect
demo-world?( object -- ? )


Files