Package toxi.geom.Vec3D

Examples of toxi.geom.Vec3D.Axis


     */
    public Origin3D(Vec3D o, Vec3D dir) {
        this.origin = o;
        this.zAxis = dir.getNormalized();
        Vec3D av = null;
        Axis a = zAxis.getClosestAxis();
        if (a == Vec3D.Axis.X) {
            av = Vec3D.Axis.Z.getVector().getInverted();
        } else if (a == Vec3D.Axis.Y) {
            av = Vec3D.Axis.Z.getVector().getInverted();
        } else if (a == Vec3D.Axis.Z) {
View Full Code Here

TOP

Related Classes of toxi.geom.Vec3D.Axis

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.