WebGL vec3 and mat3 constructors issue

vec3 and mat3 constructors accept more components then the data type can
use.