commonMain.ru.casperix.spine.device.PixelMapRegion.kt Maven / Gradle / Ivy
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())
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy