Crate wgparry3d

Crate wgparry3d 

Source
Expand description

§wgparry: cross-platform GPU collision-detection

/!\ This library is still under heavy development and is still missing many features.

The goal of wgparry is to especially be “parry on the gpu”. It aims (but it isn’t there yet) to expose geometric operations (collision-detection, ray-casting, point-projection, etc.) as composable WGSl shaders and kernels.

Modules§

cuboid
The cuboid shape.
math
Compilation flags dependent aliases for mathematical types.

Functions§

dim_shader_defs
Shader definitions that depend on whether we are building the 2D or 3D version of this crate.
substitute_aliases
Naga-oil doesn’t support aliases very well so this function substitutes the aliases with their corresponding types directly.