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

Method transform

src/main/java/field/linalg/Quat.java:546–548  ·  view source on GitHub ↗

Transform the given vector by this quaternion. This will apply the rotation described by this quaternion to the given vector. @param vec the vector to transform @return the transformed Vec3

(Vec3 vec)

Source from the content-addressed store, hash-verified

544 * @param vec the vector to transform
545 * @return the transformed Vec3
546 */
547 public Vec3 transform(Vec3 vec) {
548 return transform(vec, vec);
549 }
550
551 /**

Callers 15

__div__Method · 0.95
extrudeMethod · 0.95
rotateToXMethod · 0.95
rotateToXMethod · 0.95
orbitUpMethod · 0.95
rollMethod · 0.95
lookUpMethod · 0.95
byFixingEndpointsToMethod · 0.95
__add__Method · 0.95
__radd__Method · 0.95
__mul__Method · 0.95
__div__Method · 0.95

Calls 1

setMethod · 0.65

Tested by

no test coverage detected