Package com.jme.renderer

Examples of com.jme.renderer.Camera.update()


    Camera cam = renderer.getCamera();

    // initialize the perspective
    cam.setFrustumPerspective(60.0f, (float) display.getWidth()
        / (float) display.getHeight(), nearFrustrum, farFrustrum);
    cam.update();

    // initialize the control scheme
    chaseCam = new MouseLookCamera(cam, player.getControlledObject(), root,
        15, 0, 0);
  }
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.