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

Method toVec2

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

Converts this Vec3 to a Vec2 @return Vec2(this.x, this.y)

()

Source from the content-addressed store, hash-verified

1494 * @return Vec2(this.x, this.y)
1495 */
1496 public Vec2 toVec2() {
1497 return new Vec2(this.x, this.y);
1498 }
1499
1500 /**
1501 * returns true if any component of this Double.isNaN

Callers 15

averageErrorMethod · 0.95
medianErrorMethod · 0.95
maxErrorMethod · 0.95
maxErrorAtMethod · 0.95
hitTestMethod · 0.45
middleOfMethod · 0.45
arcMethod · 0.45
initialPositionDownMethod · 0.45
middleOfMethod · 0.45
middleOfMethod · 0.45
FLineToPhysicsClass · 0.45
saveForRobotMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected