projects
/
anneal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add helper newT() method which does not require a colorclass
[anneal.git]
/
src
/
edu
/
berkeley
/
qfat
/
Mesh.java
diff --git
a/src/edu/berkeley/qfat/Mesh.java
b/src/edu/berkeley/qfat/Mesh.java
index
1a96e7d
..
032457b
100644
(file)
--- a/
src/edu/berkeley/qfat/Mesh.java
+++ b/
src/edu/berkeley/qfat/Mesh.java
@@
-969,6
+969,7
@@
public class Mesh implements Iterable<Mesh.T> {
public T newT(HasPoint v1, HasPoint v2, HasPoint v3) {
return newT(v1.getPoint(), v2.getPoint(), v3.getPoint(), null, 0);
}
public T newT(HasPoint v1, HasPoint v2, HasPoint v3) {
return newT(v1.getPoint(), v2.getPoint(), v3.getPoint(), null, 0);
}
+ public T newT(Point v1, Point v2, Point v3, Vec norm) { return newT(v1, v2, v3, norm, 1); }
public T newT(Point v1, Point v2, Point v3, Vec norm, int colorclass) {
if (coalesce) {
public T newT(Point v1, Point v2, Point v3, Vec norm, int colorclass) {
if (coalesce) {