title: Calculate point in 3d space, between two points at specific distance
body: <p>For a camera movement in three.js I need to calculate point <code>C</code> so to move the camera from point <code>A</code> to a certain distance <code>dist</code> to point <code>B</code>.</p>
  
  <p><img src="https://preview.ibb.co/b1BDXx/Artboard_Copy_2.png" alt="scheme showing the point to find"></p>