MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / minus

Function minus

src/main/java/field/utility/KotlinExtensions.kt:111–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109operator fun Vec4.plus(other: Vec4): Vec4 = Vec4(this.x + other.x, this.y + other.y, this.z + other.z, this.w + other.w)
110
111operator fun Vec2.minus(other: Vec2): Vec2 = Vec2(this.x - other.x, this.y - other.y)
112
113operator fun Vec3.minus(other: Vec3): Vec3 = Vec3(this.x - other.x, this.y - other.y, this.z - other.z)
114

Callers

nothing calls this directly

Calls 4

Vec2Function · 0.70
Vec3Function · 0.70
Vec4Function · 0.70
__sub__Method · 0.65

Tested by

no test coverage detected