math docs
    Preparing search index...

    Variable fromValuesConst

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

    Creates a new quat initialized with the given values

    Type Declaration

      • (x: number, y: number, z: number, w: number): vec4.Vec4
      • Creates a new vec4 initialized with the given values

        Parameters

        • x: number

          X component

        • y: number

          Y component

        • z: number

          Z component

        • w: number

          W component

        Returns vec4.Vec4

        a new 4D vector

    X component

    Y component

    Z component

    W component

    a new quaternion