math docs
    Preparing search index...

    Variable setConst

    set: (out: vec4.Vec4, x: number, y: number, z: number, w: number) => vec4.Vec4 = vec4.set

    Set the components of a quat to the given values

    Type Declaration

      • (out: vec4.Vec4, x: number, y: number, z: number, w: number): vec4.Vec4
      • Set the components of a vec4 to the given values

        Parameters

        • out: vec4.Vec4

          the receiving vector

        • x: number

          X component

        • y: number

          Y component

        • z: number

          Z component

        • w: number

          W component

        Returns vec4.Vec4

        out

    the receiving quaternion

    X component

    Y component

    Z component

    W component

    out