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

Method set

src/main/java/field/linalg/AxisAngle.java:124–130  ·  view source on GitHub ↗

Set this AxisAngle to the values of a . @param a the AngleAxis4f to copy the values from @return this

(AxisAngle a)

Source from the content-addressed store, hash-verified

122 * @return this
123 */
124 public AxisAngle set(AxisAngle a) {
125 x = a.x;
126 y = a.y;
127 z = a.z;
128 angle = (angle < 0.0 ? 2.0 * Math.PI + angle % (2.0 * Math.PI) : angle) % (2.0 * Math.PI);
129 return this;
130 }
131
132 /**
133 * Set this {@link AxisAngle} to the given values.

Callers

nothing calls this directly

Calls 1

acosMethod · 0.80

Tested by

no test coverage detected