28 return short4(src *
float(std::numeric_limits<short>::max()), 0);
GPUType convert_normal(const float3 &src)
void convert_normals(Span< float3 > src, MutableSpan< GPUType > dst)
NormalizedIntVecBase< int32_t, 4, 10, 10, 10, 2 > int1010102_norm
VecBase< float, 4 > float4
VecBase< int16_t, 4 > short4
VecBase< float, 3 > float3