Package javax.media.j3d

Examples of javax.media.j3d.PickRay


/* 3048 */       ((PickCylinderSegment)cyl).getEnd(end);
/*      */     }
/*      */
/* 3053 */     if (coordinates.length > 2) {
/* 3054 */       if ((cyl instanceof PickCylinderRay)) {
/* 3055 */         if (intersectRay(coordinates, new PickRay(origin, direction), pi)) {
/* 3056 */           freePoint3d(origin);
/* 3057 */           freePoint3d(end);
/* 3058 */           freeVector3d(direction);
/* 3059 */           freePoint3d(iPnt1);
/* 3060 */           freePoint3d(iPnt2);
View Full Code Here


/* 3144 */       ((PickConeSegment)cone).getEnd(end);
/*      */     }
/*      */
/* 3149 */     if (coordinates.length > 2) {
/* 3150 */       if ((cone instanceof PickConeRay)) {
/* 3151 */         if (intersectRay(coordinates, new PickRay(origin, direction), pi)) {
/* 3152 */           freePoint3d(origin);
/* 3153 */           freePoint3d(end);
/* 3154 */           freePoint3d(iPnt1);
/* 3155 */           freePoint3d(iPnt2);
/* 3156 */           freeVector3d(direction);
View Full Code Here

/*     */
/* 204 */     if (this.tolerance == 0.0D) {
/* 205 */       if ((this.pickShape != null) && ((this.pickShape instanceof PickRay)))
/* 206 */         ((PickRay)this.pickShape).set(eyePosn, mouseVec);
/*     */       else {
/* 208 */         this.pickShape = new PickRay(eyePosn, mouseVec);
/*     */       }
/*     */
/*     */     }
/* 213 */     else if (isParallel)
/*     */     {
View Full Code Here

TOP

Related Classes of javax.media.j3d.PickRay

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.