Orientation

data class Orientation(val f0: Float = 0.0f, val f1: Float = 0.0f, val f2: Float = 0.0f, val f3: Float = 0.0f, val b0: Float = 0.0f, val b1: Float = 0.0f, val b2: Float = 0.0f, val b3: Float = 0.0f, val startAngle: Float = 0.0f)(source)

Data class representing the orientation of a hexagonal grid. Read more: Redblobgames Layout

Constructors

Link copied to clipboard
constructor(f0: Float = 0.0f, f1: Float = 0.0f, f2: Float = 0.0f, f3: Float = 0.0f, b0: Float = 0.0f, b1: Float = 0.0f, b2: Float = 0.0f, b3: Float = 0.0f, startAngle: Float = 0.0f)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val b0: Float = 0.0f
Link copied to clipboard
val b1: Float = 0.0f
Link copied to clipboard
val b2: Float = 0.0f
Link copied to clipboard
val b3: Float = 0.0f
Link copied to clipboard
val f0: Float = 0.0f
Link copied to clipboard
val f1: Float = 0.0f
Link copied to clipboard
val f2: Float = 0.0f
Link copied to clipboard
val f3: Float = 0.0f
Link copied to clipboard
val startAngle: Float = 0.0f

The starting angle of the hexagonal grid.