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

Method toVec3

src/main/java/field/linalg/Vec2.java:1306–1308  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

1304 * @return Vec3(this.x, this.y, 0)
1305 */
1306 public Vec3 toVec3() {
1307 return new Vec3(this, 0);
1308 }
1309
1310 /**
1311 * Converts this Vec2 to a Vec4 (with z=0, w=0)

Callers 2

rotateToXMethod · 0.95
polarCubicToMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected