Cleanup: remove redundant cast, use const casts

This commit is contained in:
2021-06-08 00:11:05 +10:00
parent dfac5a63bd
commit 72d2355af5
11 changed files with 20 additions and 21 deletions

View File

@@ -349,7 +349,7 @@ static PyObject *M_Geometry_normal(PyObject *UNUSED(self), PyObject *args)
goto finally;
}
normal_poly_v3(n, (const float(*)[3])coords, coords_len);
normal_poly_v3(n, coords, coords_len);
ret = Vector_CreatePyObject(n, 3, NULL);
finally: