% HCROSS % % Function to form cross product between two points, or lines, % in homogeneous coodinates. The result is normalised to lie % in the z = 1 plane. % % Usage: c = hcross(a,b) % % Peter Kovesi April 2000 % Department of Computer Science % The University of Western Australia function c = hcross(a,b) c = cross(a,b); c = c/c(3);