Package aspect.render

Examples of aspect.render.Billboard


    public Explosion(Vector3 pos) {
        Material m = new Material();
        m.emissive = Color.YELLOW;
        model = ellipse(m, 1.0f, 1.0f, 20);

        addBehavior(new Billboard(model));

        transform.position = pos;

        model.transform.scale = new Vector3(0.0f);
View Full Code Here


        }
       
        Material mtl = new Material(shader);
        model = ellipse(mtl, 2.0f, 2.0f, 20);

        addBehavior(new Billboard(model));
        addBehavior(new Motion(vel, Vector3.zero()));
        addBehavior(new TimeToLive(2.0f));

        addBehavior(new Behavior() {
            @Override
View Full Code Here

TOP

Related Classes of aspect.render.Billboard

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.