projects
/
anneal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d6566b
)
add helper newT() method which does not require a colorclass
author
megacz
<adam@megacz.com>
Sat, 28 Feb 2009 23:16:07 +0000
(15:16 -0800)
committer
megacz
<adam@megacz.com>
Sat, 28 Feb 2009 23:16:07 +0000
(15:16 -0800)
src/edu/berkeley/qfat/Mesh.java
patch
|
blob
|
history
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(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) {