Examples of Matrix4d


Examples of javax.vecmath.Matrix4d

/*     */
/*     */   public void writeObject(DataOutput out) throws IOException {
/*  62 */     super.writeObject(out);
/*  63 */     TextureAttributes attr = (TextureAttributes)this.node;
/*  64 */     Color4f clr = new Color4f();
/*  65 */     Matrix4d mat = new Matrix4d();
/*  66 */     Transform3D trans = new Transform3D();
/*  67 */     int tableComponents = attr.getNumTextureColorTableComponents();
/*  68 */     int tableSize = attr.getTextureColorTableSize();
/*  69 */     int[][] colorTable = new int[tableComponents][tableSize];
/*     */
View Full Code Here

Examples of javax.vecmath.Matrix4d

/* 107 */       for (int j = 0; j < tableSize; j++)
/* 108 */         colorTable[i][j] = in.readInt();
/* 109 */     if (tableComponents != 0)
/* 110 */       attr.setTextureColorTable(colorTable);
/* 111 */     attr.setTextureMode(in.readInt());
/* 112 */     Matrix4d mat = this.control.readMatrix4d(in);
/* 113 */     Transform3D trans = new Transform3D(mat);
/* 114 */     attr.setTextureTransform(trans);
/*     */
/* 116 */     attr.setCombineRgbMode(in.readInt());
/* 117 */     attr.setCombineAlphaMode(in.readInt());
View Full Code Here

Examples of javax.vecmath.Matrix4d

    /**
     * {@inheritDoc}
     */
    public final void multiply(final Matrix matrix) {
        final Matrix4d m;
        if (matrix instanceof Matrix4d) {
            m = (Matrix4d) matrix;
        } else {
            m = new Matrix4(matrix);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.