Examples of RectBillboard


Examples of org.xith3d.scenegraph.primitives.RectBillboard

       
        /*
         * Clouds and sun
         */
        Texture nuages = ResBag.getTexture(ResourceNames.NUAGES);
        this.addChild(new RectBillboard(nuages, 8f * 15f,
                6f * 15f, ZeroPointLocation.CENTER_CENTER, -30f));
        Texture soleil = ResBag.getTexture(ResourceNames.SOLEIL);
        this.addChild(new Transform(new RectBillboard(soleil,
                8f * 2f, 6f * 2f, ZeroPointLocation.BOTTOM_CENTER, -25f))
                .setTranslationZ(13f));
       
        /*
         * Terrain
 
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.