I want to draw an arrow from point1, to point2. At point2, I’d like to draw a small pyramid head cap to indicate direction. I CANNOT find a formula for generating some based points for a head given the two end points of the arrow.
Does anyone have such a formula? I need something like:
headBasePt0 = (x,y,z); // point 3 in picture
headBasePt1 = (x,y,z); // point 4 in picture
headBasePt2 = (x,y,z); // point 5 in picture
headBasePt3 = (x,y,z); // point 6 in picture