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