From b8ee5af2ece8c99ec838edf0cafb829143fbe3d4 Mon Sep 17 00:00:00 2001 From: Tormod Gjeitnes Hellen Date: Thu, 13 Jul 2023 18:50:43 +0200 Subject: [PATCH] fixup: Fix invalid doc link --- crates/bevy_render/src/camera/camera.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_render/src/camera/camera.rs b/crates/bevy_render/src/camera/camera.rs index 668ca075489ab1..811e4725adcf7e 100644 --- a/crates/bevy_render/src/camera/camera.rs +++ b/crates/bevy_render/src/camera/camera.rs @@ -228,7 +228,7 @@ impl Camera { /// [`world_to_ndc`](Self::world_to_ndc). /// /// Returns `None` if any of these conditions occur: - /// - The computed coordinates are beyond the near or far plane defined by the [`Projection`] + /// - The computed coordinates are beyond the near or far plane defined by the [`Projection`](crate::camera::Projection) /// - The logical viewport size cannot be computed. See [`logical_viewport_size`](Camera::logical_viewport_size) /// - The world coordinates cannot be mapped to the Normalized Device Coordinates. See [`world_to_ndc`](Camera::world_to_ndc) /// May also panic if `glam_assert` is enabled. See [`world_to_ndc`](Camera::world_to_ndc).