Just doing some revision for computer graphics and have a mathematical question.
Scale the line p1p2 around the centre of the line.
Scaling factor = [0.4, 0.6]
Around the origina is easy, just a case of
p1’=[100.4 OVER 200.6] = [4 OVER 12]
p2’=[1000.4 OVER 1500.6] = [40 OVER 90]
I just cant work out how to do it around the center of the line. If anyone knows what i am on about, any advise appreciated.