Examples of growToContainPoint()


Examples of toxi.geom.AABB.growToContainPoint()

    public void testInclude() {
        AABB box = AABB.fromMinMax(new Vec3D(), new Vec3D(100, 100, 100));
        System.out.println(box);
        Vec3D p = new Vec3D(-150, -50, 110);
        box.growToContainPoint(p);
        System.out.println(box.getMin() + " " + box.getMax());
        assertTrue(box.containsPoint(p));
    }

    public void testIsec() {
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.