Artemis.Engine.Maths.Geometry.VectorUtils.ToVec C# (CSharp) Method

ToVec() public static method

public static ToVec ( Point p ) : Vector2
p Point
return Vector2
        public static Vector2 ToVec(Point p)
        {
            return new Vector2(p.X, p.Y);
        }

Same methods

VectorUtils::ToVec ( System p ) : Vector2