Package javax.vecmath

Examples of javax.vecmath.Vector4d


/*  605 */     invtrans.transpose();
/*      */
/*  607 */     for (int i = 0; i < 6; i++)
/*  608 */       if ((enableMask & 1 << i) != 0)
/*      */       {
/*  610 */         Vector4d vec = new Vector4d(this.xformPlanes[i].x, this.xformPlanes[i].y, this.xformPlanes[i].z, this.xformPlanes[i].w);
/*      */
/*  612 */         vec.normalize();
/*  613 */         invtrans.transform(vec);
/*  614 */         update(ctx, i, true, vec.x, vec.y, vec.z, vec.w);
/*      */       }
/*      */       else {
/*  617 */         update(ctx, i, false, 0.0D, 0.0D, 0.0D, 0.0D);
View Full Code Here


/*      */   {
/*  953 */     ModelClipRetained mc = (ModelClipRetained)super.clone();
/*      */
/*  955 */     mc.planes = new Vector4d[6];
/*  956 */     for (int i = 0; i < 6; i++) {
/*  957 */       mc.planes[i] = new Vector4d(this.planes[i]);
/*  958 */       mc.xformPlanes[i] = new Vector4d(this.xformPlanes[i]);
/*      */     }
/*      */
/*  961 */     mc.enables = new boolean[6];
/*  962 */     getEnables(mc.enables);
/*      */
View Full Code Here

      behavior2.setSchedulingBounds(bounds);
     
      //Create Model Clip
      ModelClip mc = new ModelClip();
      boolean enables[] = {false, false, false, false, false, false};
      Vector4d eqn = plane;
      mc.setEnables(enables);
      mc.setPlane(1, eqn);
      mc.setEnable(1, true);
      mc.setInfluencingBounds(bounds);
      objTrans.addChild(mc);
View Full Code Here

TOP

Related Classes of javax.vecmath.Vector4d

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.