Examples of VerletSolver


Examples of org.cmj.flowy.simulation.solver.VerletSolver

        this.position = position;
        this.oldPosition = oldPosition;
        this.force = new Vector2();
        this.velocity = velocity;
        this.density = Constants.DENSITY_OFFSET;
        theSolver = new VerletSolver(0.01f);
        updatePressure();
    }
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.