pep8 compliance

This commit is contained in:
2011-06-21 17:17:51 +00:00
parent d33b63c5d8
commit eaae38551f
17 changed files with 27 additions and 21 deletions

View File

@@ -25,6 +25,7 @@ __all__ = (
"location_3d_to_region_2d",
)
def region_2d_to_vector_3d(region, rv3d, coord):
"""
Return a direction vector from the viewport at the spesific 2d region
@@ -48,7 +49,7 @@ def region_2d_to_vector_3d(region, rv3d, coord):
out = Vector(((2.0 * coord[0] / region.width) - 1.0,
(2.0 * coord[1] / region.height) - 1.0,
-0.5
))
))
w = (out[0] * persinv[0][3]) + \
(out[1] * persinv[1][3]) + \