cpvrotate

Uses complex number multiplication to rotate v1 by v2. Scaling will occur if v1 is not a unit vector.

cpvrotate
(
const cpVect v1
,
const cpVect v2
)

Meta