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
Constant
C45
Copy item path
Settings
Help
Summary
Source
const C45:
f32
= S45; // 0.707106769f32
Expand description
cos(45deg)
is used to rotate the points.