Outdated doc

This commit is contained in:
themode 2021-12-29 15:58:30 +01:00 committed by TheMode
parent d64c708c60
commit e87b3bf9c3
3 changed files with 2 additions and 5 deletions

View File

@ -11,9 +11,6 @@ import java.util.function.DoubleUnaryOperator;
/** /**
* Represents a 3D point. * Represents a 3D point.
* <p>
* Can either be a {@link Pos} or {@link Vec}.
* Interface will become {@code sealed} in the future.
*/ */
public sealed interface Point permits Vec, Pos { public sealed interface Point permits Vec, Pos {

View File

@ -10,7 +10,7 @@ import java.util.function.DoubleUnaryOperator;
/** /**
* Represents a position containing coordinates and a view. * Represents a position containing coordinates and a view.
* <p> * <p>
* To become record and primitive. * To become a value then primitive type.
*/ */
public record Pos(double x, double y, double z, float yaw, float pitch) implements Point { public record Pos(double x, double y, double z, float yaw, float pitch) implements Point {
public static final Pos ZERO = new Pos(0, 0, 0); public static final Pos ZERO = new Pos(0, 0, 0);

View File

@ -10,7 +10,7 @@ import java.util.function.DoubleUnaryOperator;
/** /**
* Represents an immutable 3D vector. * Represents an immutable 3D vector.
* <p> * <p>
* To become record and primitive. * To become a value then primitive type.
*/ */
public record Vec(double x, double y, double z) implements Point { public record Vec(double x, double y, double z) implements Point {
public static final Vec ZERO = new Vec(0); public static final Vec ZERO = new Vec(0);