Examples of Origin3D


Examples of toxi.geom.Origin3D

import toxi.geom.Vec3D;

public class Origin3DTest extends TestCase {

    public void testViewConstruct() {
        Origin3D o = new Origin3D(new Vec3D(0, -100, 0), new Vec3D(0, 1, 0));
        System.out.println(o.xAxis);
        System.out.println(o.yAxis);
        System.out.println(o.zAxis);
        System.out.println(o.xAxis.angleBetween(o.zAxis));
    }
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.