public record Point(float x, float y) {
public Point(double x, double y) : this(0, 0) { // The numbers here can be anything
this.x = (float) x;
this.y = (float) y;
}
}
public record Point(float x, float y) {
public Point(double x, double y) : this(0, 0) { // The numbers here can be anything
this.x = (float) x;
this.y = (float) y;
}
}