Cleanup: format (with BraceWrapping::AfterControlStatement "MultiLine")
This commit is contained in:
@@ -291,7 +291,8 @@ static PyObject *pygpu_matrix_scale(PyObject *UNUSED(self), PyObject *value)
|
||||
float scale[3];
|
||||
int len;
|
||||
if ((len = mathutils_array_parse(
|
||||
scale, 2, 3, value, "gpu.matrix.scale(): invalid vector arg")) == -1) {
|
||||
scale, 2, 3, value, "gpu.matrix.scale(): invalid vector arg")) == -1)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
if (len == 2) {
|
||||
@@ -331,7 +332,8 @@ static PyObject *pygpu_matrix_translate(PyObject *UNUSED(self), PyObject *value)
|
||||
float offset[3];
|
||||
int len;
|
||||
if ((len = mathutils_array_parse(
|
||||
offset, 2, 3, value, "gpu.matrix.translate(): invalid vector arg")) == -1) {
|
||||
offset, 2, 3, value, "gpu.matrix.translate(): invalid vector arg")) == -1)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
if (len == 2) {
|
||||
|
||||
Reference in New Issue
Block a user