Package barsuift.simLife.j3d.universe.physic

Examples of barsuift.simLife.j3d.universe.physic.BasicGravity3D


    public BasicGravity(GravityState state, Universe universe) {
        this.state = state;
        this.universe = universe;
        this.fallingLeaves = new HashSet<TreeLeaf>();
        this.gravity3D = new BasicGravity3D(state.getGravity3D(), universe.getUniverse3D());
        Set<TreeLeafState> fallingLeafStates = state.getFallingLeaves();
        for (TreeLeafState fallingLeafState : fallingLeafStates) {
            addFallingLeaf(new BasicTreeLeaf(universe, fallingLeafState));
        }
    }
View Full Code Here

TOP

Related Classes of barsuift.simLife.j3d.universe.physic.BasicGravity3D

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.