math docs
    Preparing search index...

    Type Alias Bone3

    A single bone: two points, the fixed distance between them, and how it may rotate.

    type Bone3 = {
        end: vec3.Vec3;
        joint: Joint3;
        length: number;
        start: vec3.Vec3;
    }
    Index
    end: vec3.Vec3

    The joint shared with the next bone; on the last bone, the end effector.

    joint: Joint3

    How far this bone may rotate away from the bone before it.

    length: number

    The rest distance between start and end, preserved by every solve.

    start: vec3.Vec3

    The joint shared with the previous bone; on the first bone, the base.