MCPcopy Create free account
hub / github.com/LOOHP/Limbo / rotateAroundAxis

Method rotateAroundAxis

src/main/java/com/loohp/limbo/location/Vector.java:497–501  ·  view source on GitHub ↗

Rotates the vector around a given arbitrary axis in 3 dimensional space. Rotation will follow the general Right-Hand-Rule, which means rotation will be counterclockwise when the axis is pointing towards the observer. This method will always make sure the provided axis is a unit vector, to n

(Vector axis, double angle)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

isNormalizedMethod · 0.80
normalizeMethod · 0.80
cloneMethod · 0.45

Tested by

no test coverage detected