hyades.physics.Shape.Shape C# (CSharp) Method

Shape() public method

public Shape ( Vector2 points, bool center ) : System
points Vector2
center bool
return System
        public Shape(Vector2[] points, bool center)
        {
            this.points = points;
            this.count = points.Length;

            if(center)
                CenterAtZero();
        }