Handbook
Glossary
draw-ellipse ( center dim -- )
Vocabulary
processing
.
shapes
Inputs
center
an
object
dim
an
object
Outputs
None
Definition
USING:
arrays
kernel
math
math.vectors
namespaces
opengl
opengl.gl
;
IN:
processing.shapes
:
draw-ellipse
( center dim -- )
GL_FRONT_AND_BACK
GL_FILL
glPolygonMode
[
stroke-color
get
gl-color
gl-ellipse
]
[
fill-color
get
gl-color
gl-get-line-width
2
*
dup
2array
v-
gl-ellipse
]
2bi
;