wgpu_
examples
24.0.0
In wgpu_
examples::
water::
point_
gen
Structs
HexTerrainMesh
HexWaterMesh
TerrainVertex
TerrainVertexAttributes
WaterVertexAttributes
Constants
A
B
C45
S45
SQRT_3
Functions
calculate_normal
q_given_r
surrounding_hexagonal_points
surrounding_point_values_iter
wgpu_examples
::
water
::
point_gen
Function
calculate_normal
Copy item path
Settings
Help
Summary
Source
pub fn calculate_normal(a:
Vec3
, b:
Vec3
, c:
Vec3
) ->
Vec3
Expand description
Used in calculating terrain normals.