math docs
    Preparing search index...

    Function addScalar

    • Adds a scalar value to all components of a vec3

      Parameters

      • out: vec3.Vec3

        the receiving vector

      • a: readonly [number, number, number]

        the source vector

      • b: number

        the scalar value to add

      Returns vec3.Vec3

      out