1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Fix various typos with codespell

Using 2.2.7.dev115+g0eb441d6.

Had to add `cancelled` to the ignore list, as it's a Wayland signal which
we're handling in our code, so we don't want codespell to fix that "typo".

Also includes the typo fix from #87927.

Co-authored-by: Divyanshu Shekhar <61140213+divshekhar@users.noreply.github.com>
This commit is contained in:
Rémi Verschelde
2024-02-07 11:09:28 +01:00
parent 08eaeff640
commit 7223c5b54a
7 changed files with 10 additions and 10 deletions

View File

@@ -639,7 +639,7 @@ uint8_t RenderingLightCuller::Data::LUT_entries[LUT_SIZE][8] = {
void RenderingLightCuller::create_LUT() {
// Each pair of planes that are opposite can have an edge.
for (int plane_0 = 0; plane_0 < PLANE_TOTAL; plane_0++) {
// For each neighbour of the plane.
// For each neighbor of the plane.
PlaneOrder neighs[4];
get_neighbouring_planes((PlaneOrder)plane_0, neighs);
@@ -864,7 +864,7 @@ void RenderingLightCuller::compact_LUT_entry(uint32_t p_entry_id) {
}
void RenderingLightCuller::get_neighbouring_planes(PlaneOrder p_plane, PlaneOrder r_neigh_planes[4]) const {
// Table of neighbouring planes to each.
// Table of neighboring planes to each.
static const PlaneOrder neigh_table[PLANE_TOTAL][4] = {
{ // LSM_FP_NEAR
PLANE_LEFT,