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

Method set

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

Set the first two components from the given v and the z component from the given z @param v the Vec2 to copy the values from @param z the z component @return this

(Vec2 v, double z)

Source from the content-addressed store, hash-verified

358 * @return this
359 */
360 public Vec3 set(Vec2 v, double z) {
361 this.x = v.x;
362 this.y = v.y;
363 this.z = z;
364 return this;
365 }
366
367 /**
368 * Set the x, y and z components to match the supplied vector.

Callers 2

circumcenterOfMethod · 0.95
crossMethod · 0.95

Calls 2

positionMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected