Handbook
Glossary
debug-box ( pt half-widths color -- )
Vocabulary
game
.
debug
Inputs
pt
an
object
half-widths
an
object
color
an
object
Outputs
None
Definition
USING:
game.debug.private
kernel
math.vectors
sequences
;
IN:
game.debug
::
debug-box
( pt half-widths color -- )
box-vertices
[
first2
[
half-widths
v*
pt
v+
]
bi@
color
debug-line
]
each
;
inline