Skip to main content

is_inside_clip_space

Function is_inside_clip_space 

Source
pub fn is_inside_clip_space(p: Vec3) -> bool
Expand description

Returns true if p is inside normalized device coordinates.

x and y are in [-1, 1]; z is in [0, 1] (wgpu / Vulkan / D3D convention).