mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
removing tabs
This commit is contained in:
parent
75e5cd4979
commit
28cbdb4d89
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue