Make Circle2D data class

This commit is contained in:
Alexander Nozik 2022-09-15 17:42:37 +03:00
parent 20886d6f6b
commit 2358f53cf7

View File

@ -10,7 +10,7 @@ import kotlin.math.PI
/**
* A circle in 2D space
*/
public class Circle2D(
public data class Circle2D(
public val center: DoubleVector2D,
public val radius: Double
)