NAME
squash — scale and lift a part's vertices: the tool of every expression
SYNOPSIS
squash(V, c, sy=1, sx=1, sz=1, dy=0.0)
PARAMETERS
V: the vertices. c: the point to scale about. sy, sx, sz: the scales; 1 by default. dy: a lift, in metres; 0 by default.
RETURN VALUE
The new vertices.
EXAMPLE
squash(eye.V, centre, sy=.08, dy=-.012) # an eye squashed flat and lowered: a blink
SEE ALSO
SOURCE
AUTHOR
Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.
COPYRIGHT
© Computational Classnotes · CC BY-NC-SA 4.0
