2019-05-25, 11:24 PM
Do you want a specific length of ray? Because that can be done with trigonometry, but is harder. Just a generic shorter one is easy - divide each coordinate by some number. So 0, 5, 11 to 100, 100, 100 is a difference of 100, 95, 89. Divide that difference by 5, add on the original point, and you have your new end point: 20, 24, 28.8