All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.ru.casperix.spine.device.PixelMapRegion.kt Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show 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 - 2024 Weber Informatics LLC | Privacy Policy