style cleanup
This commit is contained in:
@@ -50,7 +50,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.dot(persinv[3].xyz) + persinv[3][3]
|
||||
|
||||
@@ -89,7 +89,7 @@ def region_2d_to_origin_3d(region, rv3d, coord):
|
||||
persinv = persmat.inverted()
|
||||
origin_start = ((persinv.col[0].xyz * dx) +
|
||||
(persinv.col[1].xyz * dy) +
|
||||
viewinv.translation)
|
||||
viewinv.translation)
|
||||
return origin_start
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user