wgpu_examples::water::point_gen

Function calculate_normal

Source
pub fn calculate_normal(a: Vec3, b: Vec3, c: Vec3) -> Vec3
Expand description

Used in calculating terrain normals.