commonMain.ru.casperix.spine.device.PixelMapRegion.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spine-jvm Show documentation
Show all versions of spine-jvm Show documentation
Signals for all occasions
The newest version!
package ru.casperix.spine.device
import ru.casperix.math.angle.float32.DegreeFloat
import ru.casperix.renderer.pixel_map.PixelMap
import ru.casperix.atlas.RegionAttributes
class PixelMapRegion(
val pixels: PixelMap,
val attributes: RegionAttributes,
) {
val bounds = attributes.inAtlasBounds
val rotate = DegreeFloat(attributes.rotate.degree.toFloat())
}