wgpu_examples::water::point_gen

Constant S45

Source
const S45: f32 = std::f32::consts::FRAC_1_SQRT_2; // 0.707106769f32
Expand description

sin(45deg) is used to rotate the points.