`vertices`, `normals`, and `st` can't be assigned until after the if check below.  For example, if `attributes.position` is undefined, this code with throw here, rather than returning geometry unmodified.