Added Patch as MeshMode
Added private variable patchVertexCount
This commit is contained in:
parent
e45d5c093d
commit
0c35b20412
@ -134,8 +134,12 @@ public class Mesh implements Savable, Cloneable {
|
|||||||
* {@link Mesh#setElementLengths(int[]) element lengths} must
|
* {@link Mesh#setElementLengths(int[]) element lengths} must
|
||||||
* be specified for this mode.
|
* be specified for this mode.
|
||||||
*/
|
*/
|
||||||
Hybrid(false);
|
Hybrid(false),
|
||||||
|
/**
|
||||||
|
* Used for Tesselation only. Requires to set the number of vertices
|
||||||
|
* for each patch (default is 3 for triangle tesselation)
|
||||||
|
*/
|
||||||
|
Patch(true);
|
||||||
private boolean listMode = false;
|
private boolean listMode = false;
|
||||||
|
|
||||||
private Mode(boolean listMode){
|
private Mode(boolean listMode){
|
||||||
@ -175,6 +179,7 @@ public class Mesh implements Savable, Cloneable {
|
|||||||
private int vertCount = -1;
|
private int vertCount = -1;
|
||||||
private int elementCount = -1;
|
private int elementCount = -1;
|
||||||
private int instanceCount = -1;
|
private int instanceCount = -1;
|
||||||
|
private int patchVertexCount=3; //only used for tesselation
|
||||||
private int maxNumWeights = -1; // only if using skeletal animation
|
private int maxNumWeights = -1; // only if using skeletal animation
|
||||||
|
|
||||||
private int[] elementLengths;
|
private int[] elementLengths;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user