Package com.sun.j3d.internal

Examples of com.sun.j3d.internal.FloatBufferWrapper.limit()


/*  9703 */           if (texBuffer.limit() < 3 * (initialTexCoordIndex + this.validVertexCount)) {
/*  9704 */             throw new ArrayIndexOutOfBoundsException(J3dI18N.getString("GeometryArray113"));
/*       */           }
/*       */         }
/*  9707 */         else if (((this.vertexFormat & 0x400) != 0) &&
/*  9708 */           (texBuffer.limit() < 4 * (initialTexCoordIndex + this.validVertexCount))) {
/*  9709 */           throw new ArrayIndexOutOfBoundsException(J3dI18N.getString("GeometryArray113"));
/*       */         }
/*       */       }
/*       */     }
/*       */     else
View Full Code Here


/*       */       }
/* 10401 */       else if ((this.vertexFormat & 0x100) == 0) {
/* 10402 */         if ((this.vertexType & 0x7000) == 4096) {
/* 10403 */           FloatBufferWrapper texBuffer = (FloatBufferWrapper)((J3DBuffer)this.refTexCoordsBuffer[i]).getBufferImpl();
/* 10404 */           if ((this.vertexFormat & 0x20) != 0)
/* 10405 */             count = texBuffer.limit() / 2;
/* 10406 */           else if ((this.vertexFormat & 0x40) != 0)
/* 10407 */             count = texBuffer.limit() / 3;
/* 10408 */           else if ((this.vertexFormat & 0x400) != 0) {
/* 10409 */             count = texBuffer.limit() / 4;
/*       */           }
View Full Code Here

/* 10402 */         if ((this.vertexType & 0x7000) == 4096) {
/* 10403 */           FloatBufferWrapper texBuffer = (FloatBufferWrapper)((J3DBuffer)this.refTexCoordsBuffer[i]).getBufferImpl();
/* 10404 */           if ((this.vertexFormat & 0x20) != 0)
/* 10405 */             count = texBuffer.limit() / 2;
/* 10406 */           else if ((this.vertexFormat & 0x40) != 0)
/* 10407 */             count = texBuffer.limit() / 3;
/* 10408 */           else if ((this.vertexFormat & 0x400) != 0) {
/* 10409 */             count = texBuffer.limit() / 4;
/*       */           }
/*       */         }
/*       */       }
View Full Code Here

/* 10404 */           if ((this.vertexFormat & 0x20) != 0)
/* 10405 */             count = texBuffer.limit() / 2;
/* 10406 */           else if ((this.vertexFormat & 0x40) != 0)
/* 10407 */             count = texBuffer.limit() / 3;
/* 10408 */           else if ((this.vertexFormat & 0x400) != 0) {
/* 10409 */             count = texBuffer.limit() / 4;
/*       */           }
/*       */         }
/*       */       }
/*       */       else {
/* 10414 */         count = this.interleavedFloatBufferImpl.limit() / this.stride;
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.