Cleanup: python doc-strings
Indentation & trailing space.
This commit is contained in:
		| @@ -1260,17 +1260,17 @@ PyDoc_STRVAR(quaternion_doc, | ||||
| "   The constructor takes arguments in various forms:\n" | ||||
| "\n" | ||||
| "   (), *no args*\n" | ||||
| "       Create an identity quaternion\n" | ||||
| "      Create an identity quaternion\n" | ||||
| "   (*wxyz*)\n" | ||||
| "       Create a quaternion from a ``(w, x, y, z)`` vector.\n" | ||||
| "      Create a quaternion from a ``(w, x, y, z)`` vector.\n" | ||||
| "   (*exponential_map*)\n" | ||||
| "       Create a quaternion from a 3d exponential map vector.\n" | ||||
| "      Create a quaternion from a 3d exponential map vector.\n" | ||||
| "\n" | ||||
| "       .. seealso:: :meth:`to_exponential_map`\n" | ||||
| "      .. seealso:: :meth:`to_exponential_map`\n" | ||||
| "   (*axis, angle*)\n" | ||||
| "       Create a quaternion representing a rotation of *angle* radians over *axis*.\n" | ||||
| "      Create a quaternion representing a rotation of *angle* radians over *axis*.\n" | ||||
| "\n" | ||||
| "       .. seealso:: :meth:`to_axis_angle`\n" | ||||
| "      .. seealso:: :meth:`to_axis_angle`\n" | ||||
| ); | ||||
| PyTypeObject quaternion_Type = { | ||||
| 	PyVarObject_HEAD_INIT(NULL, 0) | ||||
|   | ||||
| @@ -860,7 +860,7 @@ static PyObject *M_Geometry_intersect_point_tri_2d(PyObject *UNUSED(self), PyObj | ||||
| PyDoc_STRVAR(M_Geometry_intersect_point_quad_2d_doc, | ||||
| ".. function:: intersect_point_quad_2d(pt, quad_p1, quad_p2, quad_p3, quad_p4)\n" | ||||
| "\n" | ||||
| "   Takes 5 vectors (using only the x and y coordinates): one is the point and the next 4 define the quad, \n" | ||||
| "   Takes 5 vectors (using only the x and y coordinates): one is the point and the next 4 define the quad,\n" | ||||
| "   only the x and y are used from the vectors. Returns 1 if the point is within the quad, otherwise 0.\n" | ||||
| "   Works only with convex quads without singular edges.\n" | ||||
| "\n" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user