Functionsvecvec Callablevec(x: number, y: number): VectorShorthand for creating new Vectors - returns a new Vector instance with the provided X and Y components.Parametersx: numberX component of the Vectory: numberY component of the VectorReturns Vector
Shorthand for creating new Vectors - returns a new Vector instance with the provided X and Y components.