scale-cylinder-vertices ( radius half-height verts -- bot-verts top-verts )


Vocabulary
game.debug.private

Inputs
radiusan object
half-heightan object
vertsan object


Outputs
bot-vertsan object
top-vertsan object


Definition


:: scale-cylinder-vertices
( radius half-height verts -- bot-verts top-verts )
verts
[ [ radius v*n { 0 half-height 0 } v- ] map ]
[ [ radius v*n { 0 half-height 0 } v+ ] map ] bi ;