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

commonMain.ru.casperix.math.vector.api.AbstractVector2.kt Maven / Gradle / Ivy

package ru.casperix.math.vector.api

import ru.casperix.math.vector.float32.Vector2f
import ru.casperix.math.vector.float64.Vector2d
import ru.casperix.math.vector.int32.Vector2i

interface AbstractVector2 : AbstractVectorN {
    val x: Item
    val y: Item

    val xAxis: Self
    val yAxis: Self
    fun axisProjection(useXAxis: Boolean): Self

    fun toVector2d(): Vector2d
    fun toVector2f(): Vector2f
    fun toVector2i(): Vector2i
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy