Cleanup: pep8

This commit is contained in:
2015-05-17 17:17:31 +10:00
parent 02cbc3c1e0
commit 847ec075eb
11 changed files with 49 additions and 25 deletions

View File

@@ -69,11 +69,13 @@ def region_2d_to_origin_3d(region, rv3d, coord, clamp=None):
.. note::
Orthographic views have a less obvious origin, the far clip is used to define the viewport near/far extents.
Since far clip can be a very large value, the result may give with numeric precision issues.
Orthographic views have a less obvious origin,
the far clip is used to define the viewport near/far extents.
Since far clip can be a very large value,
the result may give with numeric precision issues.
To avoid this problem, you can optionally clamp the far clip to a smaller value
based on the data you're operating on.
To avoid this problem, you can optionally clamp the far clip to a
smaller value based on the data you're operating on.
:arg region: region of the 3D viewport, typically bpy.context.region.
:type region: :class:`bpy.types.Region`