Table of Contents

Class Vec2d

Namespace
Vintagestory.API.MathTools
Assembly
VintagestoryAPI.dll

Represents a vector of 2 doubles. Go bug Tyron of you need more utility methods in this class. Open in GitHub

[DocumentAsJson]
public class Vec2d
Inheritance
Vec2d

Fields

X (Optional) (Default: 0)

The X-Component of the vector

[DocumentAsJson("Optional", "0", false)]
public double X

Field Value

double

Y (Optional) (Default: 0)

The Y-Component of the vector

[DocumentAsJson("Optional", "0", false)]
public double Y

Field Value

double