@ServiceProvider(value=MeshEncoder.class) public class MG2Encoder extends MG1Encoder
| Modifier and Type | Field and Description |
|---|---|
static float |
STANDARD_NORMAL_PRECISION |
static float |
STANDARD_VERTEX_PRECISION |
| Constructor and Description |
|---|
MG2Encoder() |
MG2Encoder(float vertexPrecision,
float normalPrecision) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(Mesh m,
CtmOutputStream out) |
int |
getTag() |
makeIndexDeltas, rearrangeTriangles, writeFloatArray, writeIndiciesgetFormatVersionpublic static final float STANDARD_NORMAL_PRECISION
public static final float STANDARD_VERTEX_PRECISION
public MG2Encoder(float vertexPrecision,
float normalPrecision)
public MG2Encoder()
public int getTag()
getTag in interface MeshEncodergetTag in class MG1Encoderpublic void encode(Mesh m, CtmOutputStream out) throws IOException
encode in interface MeshEncoderencode in class RawEncoderIOExceptionCopyright © 2013. All Rights Reserved.