mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-13 10:14:41 +02:00
reduce slicing check
This commit is contained in:
@@ -245,9 +245,9 @@ module function_grapher(points, thickness, style = "FACES", slicing = "SLASH") {
|
||||
if(style == "FACES") {
|
||||
faces();
|
||||
} else {
|
||||
for(yi = yi_range) {
|
||||
for(xi = xi_range) {
|
||||
if(slicing == "SLASH") {
|
||||
if(slicing == "SLASH") {
|
||||
for(yi = yi_range) {
|
||||
for(xi = xi_range) {
|
||||
tri_to_graph([
|
||||
points[yi][xi],
|
||||
points[yi][xi + 1],
|
||||
@@ -257,7 +257,12 @@ module function_grapher(points, thickness, style = "FACES", slicing = "SLASH") {
|
||||
points[yi + 1][xi + 1],
|
||||
points[yi + 1][xi]
|
||||
]);
|
||||
} else {
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
for(yi = yi_range) {
|
||||
for(xi = xi_range) {
|
||||
tri_to_graph([
|
||||
points[yi][xi],
|
||||
points[yi][xi + 1],
|
||||
|
Reference in New Issue
Block a user