Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Amanda Ghassaei
OrigamiSimulator
Commits
25b83a1b
Commit
25b83a1b
authored
May 10, 2017
by
amandaghassaei
Browse files
removing logs
parent
49c95132
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/pattern.js
View file @
25b83a1b
...
...
@@ -221,8 +221,6 @@ function initPattern(globals){
var
allEdges
=
outlines
.
concat
(
mountains
).
concat
(
valleys
).
concat
(
cuts
).
concat
(
triangulations
);
polygons
=
findPolygons
(
allEdges
);
console
.
log
(
polygons
[
0
]);
console
.
log
(
vertices
);
var
faces
=
triangulatePolys
(
polygons
,
allEdges
);
var
allCreaseParams
=
getFacesAndVerticesForEdges
(
faces
,
allEdges
);
...
...
@@ -262,9 +260,6 @@ function initPattern(globals){
}
if
(
badVertices
.
length
>
0
){
console
.
log
(
badVertices
);
console
.
log
(
JSON
.
stringify
(
set
));
console
.
warn
(
badVertices
.
length
+
"
extra vertices found on line segments and removed
"
);
//bad vertices in ascending order
...
...
@@ -277,8 +272,6 @@ function initPattern(globals){
if
(
edge
[
1
]
>=
index
)
edge
[
1
]
--
;
}
}
console
.
log
(
JSON
.
stringify
(
set
));
console
.
log
(
JSON
.
stringify
(
vertices
));
var
duplicates
=
0
;
duplicates
+=
removeDuplicates
(
outlines
,
outlines
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment