class Stripifier.Istream
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) boolean |
fan |
(package private) int |
head |
(package private) Stripifier.Vertex[] |
istream |
(package private) int |
length |
(package private) int |
tail |
| Constructor and Description |
|---|
Stripifier.Istream(Stripifier.Vertex[] list,
int size,
boolean isFan)
creates a new Istream to store the triangle strip
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
addStream(Stripifier.Istream strm)
concats two streams into one big stream
|
(package private) void |
append(Stripifier.Vertex vertex)
adds a new vertex to the end of the stream
makes the int array bigger, if necessary
|
(package private) void |
growArray()
makes the array bigger, if necessary
|
(package private) void |
invert()
inverts the istream
|
(package private) void |
swapEnd()
turns the encoding (..., -3, -2, -1) into (....
|
boolean fan
int length
Stripifier.Vertex[] istream
int head
int tail
Stripifier.Istream(Stripifier.Vertex[] list, int size, boolean isFan)
void append(Stripifier.Vertex vertex)
void swapEnd()
void growArray()
void invert()
void addStream(Stripifier.Istream strm)
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.