Skip to content

Commit bcbb5c1

Browse files
committed
fixed index
1 parent ba46c86 commit bcbb5c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/omath/projection/camera.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ namespace omath::projection
398398
return true;
399399
if (data[1] < -1.0f - eps || data[1] > 1.0f + eps)
400400
return true;
401-
return is_ndc_z_value_out_of_bounds(data[3]);
401+
return is_ndc_z_value_out_of_bounds(data[2]);
402402
}
403403
template<class ZType>
404404
[[nodiscard]]

0 commit comments

Comments
 (0)