Package org.mt4j.util.math

Examples of org.mt4j.util.math.Plane


    Z = new Vector3D();
    X = new Vector3D();
    Y = new Vector3D();
   
    planes = new Plane[]{
         new Plane(Vector3D.ZERO_VECTOR,Vector3D.ZERO_VECTOR)
        ,new Plane(Vector3D.ZERO_VECTOR,Vector3D.ZERO_VECTOR)
        ,new Plane(Vector3D.ZERO_VECTOR,Vector3D.ZERO_VECTOR)
        ,new Plane(Vector3D.ZERO_VECTOR,Vector3D.ZERO_VECTOR)
        ,new Plane(Vector3D.ZERO_VECTOR,Vector3D.ZERO_VECTOR)
        ,new Plane(Vector3D.ZERO_VECTOR,Vector3D.ZERO_VECTOR)
    };
   
    PGraphics3D p3d = ((PGraphics3D)pa.g);
   
    //This has to be called if the perspective is changed!!
View Full Code Here


    this.registerInputProcessor(new MultipleDragProcessor(app));
    this.addGestureListener(MultipleDragProcessor.class, new DragListener());
   
    Vector3D norm = new Vector3D(0,0,1);
    Vector3D pointInPlane = new Vector3D(0,0,0);
    plane = new Plane(pointInPlane, norm);
   
//    /*
    if (useTexture){
      this.setNoStroke(true);
      a = applet.loadImage(System.getProperty("user.dir") + File.separator + "examples" +  File.separator +"advanced"+ File.separator+ File.separator + "touchTail"  +  File.separator + "data" + File.separator +
View Full Code Here

    //REMOVE?
    this.setUseDirectGL(true);
//    this.setBoundsPickingBehaviour(BOUNDS_CHECK_THEN_GEOMETRY_CHECK);
   
    //Plane to check intersections with
    this.p = new Plane(new Vector3D(x,y,0) , new Vector3D(0,0,1));
    //Mapping of this scenes inputCursors to the newly created cursors of the window scene
    this.oldCursorToNewCursor = new HashMap<InputCursor, InputCursor>();
   
    this.lastUpdateTime = 0;
   
View Full Code Here

TOP

Related Classes of org.mt4j.util.math.Plane

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.