Math-Get middle point

From Vectorlab
Jump to: navigation, search


Given two points (here as vectors) returns the point in between . By Orso B. Schmid


{ Orso ***************************** }
{ find point between two others }
FUNCTION M_MiddlePt(v1, v2: VECTOR): VECTOR;
	BEGIN
		M_MiddlePt := v1 + (v2 - v1)/2;
	END;