Vec2 Vec2 Struct

Definition

Struct defining X and Y double values.

public struct Vec2
type Vec2 = struct
Inheritance

Constructors

Vec2(Double, Double) Vec2(Double, Double)

Creates a new Vec2 that is defined by x and y.

Fields

X X

The horizontal coordinate.

Y Y

The vertical coordinate.

Applies to