com.turtle3d.exporter
Class Face

java.lang.Object
  extended by com.turtle3d.exporter.Face

public class Face
extends java.lang.Object

A face is a triangle created from 3 vertices and their normals.

It's a helper class for ObjExporter. It holds only indexes, not vertices themselves.

Author:
Marek Paterczyk

Field Summary
 int c1
           
 int c2
           
 int c3
           
 int n1
           
 int n2
           
 int n3
           
 int v1
           
 int v2
           
 int v3
           
 
Constructor Summary
Face(int v1, int v2, int v3)
           
Face(int v1, int v2, int v3, int c1, int c2, int c3)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

v1

public int v1

v2

public int v2

v3

public int v3

n1

public int n1

n2

public int n2

n3

public int n3

c1

public int c1

c2

public int c2

c3

public int c3
Constructor Detail

Face

public Face(int v1,
            int v2,
            int v3,
            int c1,
            int c2,
            int c3)

Face

public Face(int v1,
            int v2,
            int v3)