All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.almasb.fxgl.physics.box2d.dynamics.TimeStep Maven / Gradle / Ivy

There is a newer version: 21.1
Show newest version
/*
 * FXGL - JavaFX Game Library. The MIT License (MIT).
 * Copyright (c) AlmasB ([email protected]).
 * See LICENSE for details.
 */

package com.almasb.fxgl.physics.box2d.dynamics;

/**
 * This is an internal structure.
 */
public class TimeStep {

    /**
     * time step
     **/
    public float dt;

    /**
     * inverse time step (0 if dt == 0).
     **/
    public float inv_dt;

    /**
     * dt * inv_dt0
     **/
    public float dtRatio;

    public int velocityIterations;

    public int positionIterations;

    public boolean warmStarting;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy