Darkyenus / glsl4idea

A GLSL language plugin for IntelliJ IDEA
GNU Lesser General Public License v3.0
101 stars 30 forks source link

Scalar constructor does not accept non-scalars #173

Closed Darkyenus closed 2 years ago

Darkyenus commented 2 years ago

5.4.1: Scalar constructors with non-scalar parameters can be used to take the first element from a non-scalar. For example, the constructor float(vec3) will select the first component of the vec3 parameter