Skip to contents

Creates a transformation matrix that stretches an object along a specific axis

Usage

stretch(r, alpha, center.cur)

Arguments

r

stretching factor

alpha

angle

center.cur

Coordinates of the current center of mass