Skip to main content

frame_along

Function frame_along 

Source
pub fn frame_along(
    origin: Vector3,
    normal: &Vector3,
) -> GeopResult<CoordinateSystem>
Expand description

A right-handed orthonormal frame at origin with w along normal, and u the world axis most parallel to the plane normal to it, projected into that plane (see Vector3::across) — so frames with parallel normals line up, and a frame put on an axis has u where a joint measures its turns from: two bodies mated on the same axis of each are at a turn of zero.