Package javax.vecmath

Examples of javax.vecmath.Color4f


/*      */
/* 1481 */         vc.c = vc.c3;
/*      */       }
/* 1483 */       else if (CompressionStream.this.vertexColor4) {
/* 1484 */         voffset = ci * this.vstride;
/* 1485 */         vc.c4 = new Color4f(this.fbw.get(voffset + this.coffset + 0), this.fbw.get(voffset + this.coffset + 1), this.fbw.get(voffset + this.coffset + 2), this.fbw.get(voffset + this.coffset + 3));
/*      */
/* 1489 */         vc.c = vc.c4;
/*      */       }
/*      */     }
View Full Code Here


/*      */
/* 1408 */         vc.c = vc.c3;
/*      */       }
/* 1410 */       else if (CompressionStream.this.vertexColor4) {
/* 1411 */         voffset = ci * this.vstride;
/* 1412 */         vc.c4 = new Color4f(this.vdata[(voffset + this.coffset + 0)], this.vdata[(voffset + this.coffset + 1)], this.vdata[(voffset + this.coffset + 2)], this.vdata[(voffset + this.coffset + 3)]);
/*      */
/* 1416 */         vc.c = vc.c4;
/*      */       }
/*      */     }
View Full Code Here

/* 1107 */         ga.getColors(firstVertex, this.colors3);
/*      */       }
/* 1109 */       else if (CompressionStream.this.vertexColor4) {
/* 1110 */         this.colors4 = new Color4f[validVertexCount];
/* 1111 */         for (i = 0; i < validVertexCount; i++) {
/* 1112 */           this.colors4[i] = new Color4f();
/*      */         }
/* 1114 */         ga.getColors(firstVertex, this.colors4);
/*      */       }
/*      */     }
View Full Code Here

/*     */       }
/* 131 */       if (GeneralizedVertexList.this.hasColor3) {
/* 132 */         this.color3 = new Color3f(c.x, c.y, c.z);
/*     */       }
/* 134 */       else if (GeneralizedVertexList.this.hasColor4)
/* 135 */         this.color4 = new Color4f(c);
/*     */     }
View Full Code Here

/*     */       }
/*     */
/* 249 */       this.vlist.setVertexFormat(this.vlist.vertexFormat | 0x4);
/*     */     }
/*     */
/* 252 */     if (this.curColor == null) this.curColor = new Color4f();
/* 253 */     this.curColor.set(color);
/*     */   }
View Full Code Here

/*     */   public void writeColor4f(DataOutput out, Color4f vec) throws IOException {
/* 710 */     writeTuple4f(out, vec);
/*     */   }
/*     */
/*     */   public Color4f readColor4f(DataInput in) throws IOException {
/* 714 */     return (Color4f)readTuple4f(in, new Color4f());
/*     */   }
View Full Code Here

/*      */   }
/*      */
/*      */   final void setTextureBlendColor(Color4f textureBlendColor)
/*      */   {
/*  174 */     this.textureBlendColor.set(textureBlendColor);
/*  175 */     sendMessage(4, new Color4f(textureBlendColor), null);
/*      */   }
View Full Code Here

/*      */   }
/*      */
/*      */   final void setTextureBlendColor(float r, float g, float b, float a)
/*      */   {
/*  194 */     this.textureBlendColor.set(r, g, b, a);
/*  195 */     sendMessage(4, new Color4f(r, g, b, a), null);
/*      */   }
View Full Code Here

/*      */
/*      */   protected Object clone()
/*      */   {
/*  886 */     TextureAttributesRetained tr = (TextureAttributesRetained)super.clone();
/*  887 */     tr.transform = new Transform3D(this.transform);
/*  888 */     tr.textureBlendColor = new Color4f(this.textureBlendColor);
/*  889 */     if (this.textureColorTable != null) {
/*  890 */       tr.textureColorTable = new int[this.textureColorTable.length];
/*  891 */       System.arraycopy(this.textureColorTable, 0, tr.textureColorTable, 0, this.textureColorTable.length);
/*      */     }
/*      */     else {
View Full Code Here

/*      */
/*      */   GeometryDecompressor()
/*      */   {
/*  241 */     this.curPos = new Point3f();
/*  242 */     this.curNorm = new Vector3f();
/*  243 */     this.curColor = new Color4f();
/*  244 */     this.gctables = new HuffmanTableEntry[3][64];
/*      */
/*  246 */     for (int i = 0; i < 64; i++) {
/*  247 */       this.gctables[0][i] = new HuffmanTableEntry();
/*  248 */       this.gctables[1][i] = new HuffmanTableEntry();
View Full Code Here

TOP

Related Classes of javax.vecmath.Color4f

Copyright © 2018 www.massapicom. 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.