Package com.ardor3d.scenegraph.shape

Examples of com.ardor3d.scenegraph.shape.Dome.updateModelBound()


        return floor;
    }

    private Mesh createSky() {
        final Dome sky = new Dome("Sky", 30, 30, 10);
        sky.updateModelBound();
        // set the vertex colors to red. Same effect as setDefaultColor here, but uses more memory.
        sky.setSolidColor(ColorRGBA.RED);
        // move back from camera.
        sky.setTranslation(0, 10, -20);
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.