Skip to content

Commit 96e4c7e

Browse files
authored
Update raycast_occlusion_cull.cpp
1 parent 11c6593 commit 96e4c7e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/raycast/raycast_occlusion_cull.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -582,8 +582,7 @@ Vector2 RaycastOcclusionCull::_get_jitter(const Rect2 &p_viewport_rect, const Si
582582
}
583583

584584
Rect2 _get_viewport_rect(const Projection &p_cam_projection) {
585-
// TODO: this is proposed as a feature of Projection at https://github.com/godotengine/godot/pull/104311
586-
// NOTE: This assumes a rectangular projection plane, i.e. that :
585+
// NOTE: This assumes a rectangular projection plane, i.e. that:
587586
// - the matrix is a projection across z-axis (i.e. is invertible and columns[0][1], [0][3], [1][0] and [1][3] == 0)
588587
// - the projection plane is rectangular (i.e. columns[0][2] and [1][2] == 0 if columns[2][3] != 0)
589588
Size2 half_extents = p_cam_projection.get_viewport_half_extents();

0 commit comments

Comments
 (0)