mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-09 12:36:31 +02:00
removing tabs
This commit is contained in:
@@ -924,7 +924,7 @@ function plane_offset(plane) =
|
|||||||
// stroke(xypath,closed=true);
|
// stroke(xypath,closed=true);
|
||||||
function plane_transform(plane) =
|
function plane_transform(plane) =
|
||||||
let(
|
let(
|
||||||
plane = normalize_plane(plane),
|
plane = normalize_plane(plane),
|
||||||
n = point3d(plane),
|
n = point3d(plane),
|
||||||
cp = n * plane[3]
|
cp = n * plane[3]
|
||||||
)
|
)
|
||||||
@@ -1019,8 +1019,8 @@ function _general_plane_line_intersection(plane, line, eps=EPSILON) =
|
|||||||
? [line,undef] // line is on the plane
|
? [line,undef] // line is on the plane
|
||||||
: undef // line is parallel but not on the plane
|
: undef // line is parallel but not on the plane
|
||||||
: [ line[0]-a/b*(line[1]-line[0]), -a/b ];
|
: [ line[0]-a/b*(line[1]-line[0]), -a/b ];
|
||||||
|
|
||||||
|
|
||||||
// Function: normalize_plane()
|
// Function: normalize_plane()
|
||||||
// Usage: normalize_plane(plane)
|
// Usage: normalize_plane(plane)
|
||||||
// Description:
|
// Description:
|
||||||
|
Reference in New Issue
Block a user