Math-Point to vector

From Vectorlab
Jump to: navigation, search


Converts a Point a Vector. By Orso B. Schmid


{ Orso ************************************************ }
{ converts point to vector }
FUNCTION M_Point2Vec(p: POINT): VECTOR;
	BEGIN
		M_Point2Vec.x := p.x;
		M_Point2Vec.y := p.y;
		M_Point2Vec.z := 0;
	END;