Cleanup: indentation, wrapping
Mostly functions wrapping args, not confirming to our style guide.
This commit is contained in:
@@ -67,7 +67,7 @@ PyC_FlagSet bpy_bm_htype_vert_edge_face_flags[] = {
|
||||
{BM_VERT, "VERT"},
|
||||
{BM_EDGE, "EDGE"},
|
||||
{BM_FACE, "FACE"},
|
||||
{0, NULL},
|
||||
{0, NULL},
|
||||
};
|
||||
|
||||
PyC_FlagSet bpy_bm_htype_all_flags[] = {
|
||||
|
@@ -465,10 +465,12 @@ static PyObject *C_Matrix_Rotation(PyObject *cls, PyObject *args)
|
||||
const char *axis = NULL;
|
||||
int matSize;
|
||||
double angle; /* use double because of precision problems at high values */
|
||||
float mat[16] = {0.0f, 0.0f, 0.0f, 0.0f,
|
||||
0.0f, 0.0f, 0.0f, 0.0f,
|
||||
0.0f, 0.0f, 0.0f, 0.0f,
|
||||
0.0f, 0.0f, 0.0f, 1.0f};
|
||||
float mat[16] = {
|
||||
0.0f, 0.0f, 0.0f, 0.0f,
|
||||
0.0f, 0.0f, 0.0f, 0.0f,
|
||||
0.0f, 0.0f, 0.0f, 0.0f,
|
||||
0.0f, 0.0f, 0.0f, 1.0f,
|
||||
};
|
||||
|
||||
if (!PyArg_ParseTuple(args, "di|O:Matrix.Rotation", &angle, &matSize, &vec)) {
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user