mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
CI: Bump clang-format and clang-tidy versions
• clang-format: 20.1.0 → 21.1.7 • clang-tidy: 20.1.0 → 21.1.6 • `.clang-format`: 17.0.6 → 18.1.8 (keep 3 versions behind latest for compatibility)
This commit is contained in:
@@ -102,7 +102,7 @@ void DebugEffects::_create_frustum_arrays() {
|
||||
2, 6, 4, // FRT, NRT, NLT
|
||||
// Bottom
|
||||
5, 7, 1, // NLB, NRB, FLB,
|
||||
7, 3, 1, // NRB, FRB, FLB
|
||||
7, 3, 1 // NRB, FRB, FLB
|
||||
};
|
||||
|
||||
// Create our index_array
|
||||
@@ -136,7 +136,7 @@ void DebugEffects::_create_frustum_arrays() {
|
||||
0, 4, // FLT - NLT
|
||||
1, 5, // FLB - NLB
|
||||
2, 6, // FRT - NRT
|
||||
3, 7, // FRB - NRB
|
||||
3, 7 // FRB - NRB
|
||||
};
|
||||
|
||||
// Create our lines_array
|
||||
|
||||
@@ -932,11 +932,11 @@ void RenderingLightCuller::get_corners_of_planes(PlaneOrder p_plane_a, PlaneOrde
|
||||
// LSM_FP_NEAR
|
||||
{
|
||||
// LSM_FP_NEAR
|
||||
PT_NEAR_LEFT_TOP, PT_NEAR_RIGHT_TOP, // Invalid combination.
|
||||
PT_NEAR_LEFT_TOP, PT_NEAR_RIGHT_TOP // Invalid combination.
|
||||
},
|
||||
{
|
||||
// LSM_FP_FAR
|
||||
PT_FAR_RIGHT_TOP, PT_FAR_LEFT_TOP, // Invalid combination.
|
||||
PT_FAR_RIGHT_TOP, PT_FAR_LEFT_TOP // Invalid combination.
|
||||
},
|
||||
{
|
||||
// LSM_FP_LEFT
|
||||
@@ -964,11 +964,11 @@ void RenderingLightCuller::get_corners_of_planes(PlaneOrder p_plane_a, PlaneOrde
|
||||
// LSM_FP_FAR
|
||||
{
|
||||
// LSM_FP_NEAR
|
||||
PT_FAR_LEFT_TOP, PT_FAR_RIGHT_TOP, // Invalid combination.
|
||||
PT_FAR_LEFT_TOP, PT_FAR_RIGHT_TOP // Invalid combination.
|
||||
},
|
||||
{
|
||||
// LSM_FP_FAR
|
||||
PT_FAR_RIGHT_TOP, PT_FAR_LEFT_TOP, // Invalid combination.
|
||||
PT_FAR_RIGHT_TOP, PT_FAR_LEFT_TOP // Invalid combination.
|
||||
},
|
||||
{
|
||||
// LSM_FP_LEFT
|
||||
@@ -1006,7 +1006,7 @@ void RenderingLightCuller::get_corners_of_planes(PlaneOrder p_plane_a, PlaneOrde
|
||||
},
|
||||
{
|
||||
// LSM_FP_LEFT
|
||||
PT_FAR_LEFT_BOTTOM, PT_FAR_LEFT_BOTTOM, // Invalid combination.
|
||||
PT_FAR_LEFT_BOTTOM, PT_FAR_LEFT_BOTTOM // Invalid combination.
|
||||
},
|
||||
{
|
||||
// LSM_FP_TOP
|
||||
@@ -1015,7 +1015,7 @@ void RenderingLightCuller::get_corners_of_planes(PlaneOrder p_plane_a, PlaneOrde
|
||||
},
|
||||
{
|
||||
// LSM_FP_RIGHT
|
||||
PT_FAR_LEFT_BOTTOM, PT_FAR_LEFT_BOTTOM, // Invalid combination.
|
||||
PT_FAR_LEFT_BOTTOM, PT_FAR_LEFT_BOTTOM // Invalid combination.
|
||||
},
|
||||
{
|
||||
// LSM_FP_BOTTOM
|
||||
@@ -1043,7 +1043,7 @@ void RenderingLightCuller::get_corners_of_planes(PlaneOrder p_plane_a, PlaneOrde
|
||||
},
|
||||
{
|
||||
// LSM_FP_TOP
|
||||
PT_NEAR_LEFT_TOP, PT_FAR_LEFT_TOP, // Invalid combination.
|
||||
PT_NEAR_LEFT_TOP, PT_FAR_LEFT_TOP // Invalid combination.
|
||||
},
|
||||
{
|
||||
// LSM_FP_RIGHT
|
||||
@@ -1052,7 +1052,7 @@ void RenderingLightCuller::get_corners_of_planes(PlaneOrder p_plane_a, PlaneOrde
|
||||
},
|
||||
{
|
||||
// LSM_FP_BOTTOM
|
||||
PT_FAR_LEFT_BOTTOM, PT_NEAR_LEFT_BOTTOM, // Invalid combination.
|
||||
PT_FAR_LEFT_BOTTOM, PT_NEAR_LEFT_BOTTOM // Invalid combination.
|
||||
},
|
||||
},
|
||||
|
||||
@@ -1070,7 +1070,7 @@ void RenderingLightCuller::get_corners_of_planes(PlaneOrder p_plane_a, PlaneOrde
|
||||
},
|
||||
{
|
||||
// LSM_FP_LEFT
|
||||
PT_FAR_RIGHT_BOTTOM, PT_FAR_RIGHT_BOTTOM, // Invalid combination.
|
||||
PT_FAR_RIGHT_BOTTOM, PT_FAR_RIGHT_BOTTOM // Invalid combination.
|
||||
},
|
||||
{
|
||||
// LSM_FP_TOP
|
||||
@@ -1079,7 +1079,7 @@ void RenderingLightCuller::get_corners_of_planes(PlaneOrder p_plane_a, PlaneOrde
|
||||
},
|
||||
{
|
||||
// LSM_FP_RIGHT
|
||||
PT_FAR_RIGHT_BOTTOM, PT_FAR_RIGHT_BOTTOM, // Invalid combination.
|
||||
PT_FAR_RIGHT_BOTTOM, PT_FAR_RIGHT_BOTTOM // Invalid combination.
|
||||
},
|
||||
{
|
||||
// LSM_FP_BOTTOM
|
||||
@@ -1116,7 +1116,7 @@ void RenderingLightCuller::get_corners_of_planes(PlaneOrder p_plane_a, PlaneOrde
|
||||
},
|
||||
{
|
||||
// LSM_FP_TOP
|
||||
PT_NEAR_LEFT_BOTTOM, PT_FAR_LEFT_BOTTOM, // Invalid combination.
|
||||
PT_NEAR_LEFT_BOTTOM, PT_FAR_LEFT_BOTTOM // Invalid combination.
|
||||
},
|
||||
{
|
||||
// LSM_FP_RIGHT
|
||||
@@ -1125,7 +1125,7 @@ void RenderingLightCuller::get_corners_of_planes(PlaneOrder p_plane_a, PlaneOrde
|
||||
},
|
||||
{
|
||||
// LSM_FP_BOTTOM
|
||||
PT_FAR_LEFT_BOTTOM, PT_NEAR_LEFT_BOTTOM, // Invalid combination.
|
||||
PT_FAR_LEFT_BOTTOM, PT_NEAR_LEFT_BOTTOM // Invalid combination.
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user