Function createVec4

  • Creates a new 4D vector, uninitialized.

    This function creates a new vector with four elements. It can be initialized with the provided values or left uninitialized (i.e., filled with default values).

    Parameters

    • Optionalvalues: FloatArrayParam

      Optional array of values to initialize the vector. If not provided, the vector will be initialized with default values.

    Returns Float64Array<any>

    A new, uninitialized 4D vector.