Britbot
static HeadingVector Britbot.HeadingVector.operator+ ( HeadingVector  hv1,
HeadingVector  hv2 
) [inline, static]

regular "algebraic" sum of two vectors

Parameters:
hv1first vector
hv2second vector
Returns:
the sum of the two vectors

Definition at line 372 of file HeadingVector.cs.

        {
            //defining the result
            HeadingVector newHv = new HeadingVector(hv1);

            //adding up
            newHv.X += hv2.X;
            newHv.Y += hv2.Y;

            return newHv;
        }