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

Method toVec4

src/main/java/field/linalg/Vec3.java:1487–1489  ·  view source on GitHub ↗

Converts this Vec3 to a Vec4 (with w=0) @return Vec4(this.x, this.y, this.z, 0)

()

Source from the content-addressed store, hash-verified

1485 * @return Vec4(this.x, this.y, this.z, 0)
1486 */
1487 public Vec4 toVec4() {
1488 return new Vec4(this.x, this.y, this.z, 0);
1489 }
1490
1491 /**
1492 * Converts this Vec3 to a Vec2

Callers 8

__sub__Method · 0.95
__rsub__Method · 0.95
__add__Method · 0.95
__radd__Method · 0.95
__mul__Method · 0.95
__rmul__Method · 0.95
__div__Method · 0.95
__rdiv__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected