Construct a Vector from a single value
Unittest Construct a Vector from a single value
auto v2 = vec2( 2 ); assert( v2 == [ 2, 2 ] ); auto v3i = vec3i( 3 ); assert( v3i == [ 3, 3, 3 ] ); auto v4ub = vec4ub( 4 ); assert( v4ub == [ 4, 4, 4, 4 ] );
See Implementation
Construct a Vector from a single value