Make Circle2D data class
This commit is contained in:
parent
20886d6f6b
commit
2358f53cf7
@ -10,7 +10,7 @@ import kotlin.math.PI
|
|||||||
/**
|
/**
|
||||||
* A circle in 2D space
|
* A circle in 2D space
|
||||||
*/
|
*/
|
||||||
public class Circle2D(
|
public data class Circle2D(
|
||||||
public val center: DoubleVector2D,
|
public val center: DoubleVector2D,
|
||||||
public val radius: Double
|
public val radius: Double
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user