Bevy Shader Explorer
Search across packages, versions, files, declarations, and comments. Use multiple terms to narrow results (AND), and add @vertex, @fragment, or @compute to filter by shader stage.
Packages
›
wesl
0.6.0
›
util.wesl
Save
Constants
EPSILON
#
const
EPSILON:
f32
=
1e-5
INTERNAL_SCALE
#
const
INTERNAL_SCALE:
f32
=
2.0
Functions
dot2
#
public: visible from any package, and re-exportable (see prelude.wesl).
fn
dot2
(
a:
vec2f
,
b:
vec2f
)
->
f32
Contents
Constants
EPSILON
INTERNAL_SCALE
Functions
dot2
public: visible from any package, and re-exportable (see prelude.wesl).