Package nu3a.camera

Examples of nu3a.camera.N3CameraData


   */
  public N3Camera(Rectangle v, float a, float wh, float zN, float zF,
      N3Scene scene, String name) throws N3InvalidCameraValuesException,
      N3NameException {
    super(scene, name);
    internalCamera = new N3CameraData(v, a, wh, zN, zF);
    target = null;
    matrix = new N3Matrix4D();
    targetMatrix = new N3Matrix4D();
    inverseTransform = new N3Matrix4D();
    internalCamera.addCamera(this);
View Full Code Here


      throws Exception {
    String name = infoNode.getAttribute("name");
    Element data = (Element) infoNode.getElementsByTagName("internal")
        .item(0);
    int index = Integer.parseInt(data.getAttribute("index"));
    N3CameraData c = (N3CameraData) resources.resourceAt(index);
    N3Camera result = new N3Camera(c, scene, name);

    data = (Element) infoNode.getElementsByTagName("collisionable").item(0);
    result.setCollisionable((new Boolean(data.getAttribute("value")))
        .booleanValue());
View Full Code Here

TOP

Related Classes of nu3a.camera.N3CameraData

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.