Package de.ailis.jollada.model

Examples of de.ailis.jollada.model.Perspective


                "xFov and/or yFov must be set when no aspect ratio is given");
        if (this.aspectRatio != null
            && (this.xFov != null && this.yFov != null))
            throw new IllegalStateException(
                "Only xFov or yFov must be set when aspect ratio is given");
        final Perspective perspective = new Perspective(this.zNear, this.zFar);
        perspective.setAspectRatio(this.aspectRatio);
        perspective.setXFov(this.xFov);
        perspective.setYFov(this.yFov);
        return perspective;
    }
View Full Code Here

TOP

Related Classes of de.ailis.jollada.model.Perspective

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.