|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.ohiou.cs456_badabing.sceneapi.basic.Triangle
public class Triangle
Describes a triangle and associated values.
Description: Describes a triangle and associated values.
Copyright: Lev A Neiman 2008
Company: Ohio University EECS
| Field Summary | |
|---|---|
Coordinate |
a
vertex a |
Coordinate |
a_normal
smooth shaded normal for a |
Coordinate |
b
vertex b |
Coordinate |
b_normal
smooth shaded normal for b |
Coordinate |
c
vertex c |
Coordinate |
c_normal
smooth shaded nomral for c |
Material |
material
Material reference. |
java.lang.String |
material_name
Material name that applies to this Triangle |
Coordinate |
normal
normal for (a-c)x(b-c) |
(package private) Coordinate |
ta
texture coordinate for a |
(package private) Coordinate |
tb
texture coordinate for b |
(package private) Coordinate |
tc
texture coordinate for c |
| Constructor Summary | |
|---|---|
Triangle()
Default constructor. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Coordinate a
public Coordinate b
public Coordinate c
public Coordinate normal
public Coordinate a_normal
public Coordinate b_normal
public Coordinate c_normal
public java.lang.String material_name
public Material material
Coordinate ta
Coordinate tb
Coordinate tc
| Constructor Detail |
|---|
public Triangle()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||