mako5.math.phys
Class Physics

java.lang.Object
  extended by mako5.math.phys.Physics

public class Physics
extends Object

Performs physics operations when requested.

Version:
05-Mar 2006
Author:
Paul Jarrett

Constructor Summary
Physics()
           
 
Method Summary
static void applyVelocity(R2v rLoc_, Polar rVel_, R2v rAcc_, float elapsed_)
          Deprecated. 1-Jul 2006
static void applyVelocity(R2v rLoc_, R2v rVel_, float elapsed_)
          Applies a velocity vector to the given position vector with no acceleration.
static void applyVelocity(R2v rLoc_, R2v rVel_, R2v rAcc_, float elapsed_)
          Deprecated. 1-Jul 2006
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Physics

public Physics()
Method Detail

applyVelocity

public static void applyVelocity(R2v rLoc_,
                                 R2v rVel_,
                                 float elapsed_)
Applies a velocity vector to the given position vector with no acceleration. Note that if lElapsed_ <= 0, then the minimum time step of 16L will be used.

Parameters:
rLoc_ - the location vector
rVel_ - the velocity vector
elapsed_ - the elapsed time
Since:
05-Mar 2006

applyVelocity

@Deprecated
public static void applyVelocity(R2v rLoc_,
                                            R2v rVel_,
                                            R2v rAcc_,
                                            float elapsed_)
Deprecated. 1-Jul 2006

Applies a velocity vector to the given position vector with a constant acceleration vector. Updates the velocity and location. Note that if lElapsed_ <= 0, then the minimum time step of 16L will be used.

Parameters:
rLoc_ - the location vector
rVel_ - the velocity vector
rAcc_ - the acceleration vector
elapsed_ - the elapsed time
Since:
05-Mar 2006

applyVelocity

@Deprecated
public static void applyVelocity(R2v rLoc_,
                                            Polar rVel_,
                                            R2v rAcc_,
                                            float elapsed_)
Deprecated. 1-Jul 2006

Applies a velocity vector to the given position vector with a constant acceleration vector. Updates the velocity and location. Note that if lElapsed_ <= 0, then the minimum time step of 16L will be used.

Parameters:
rLoc_ - the location vector
rVel_ - the velocity vector
rAcc_ - the acceleration vector
elapsed_ - the elapsed time
Since:
05-Mar 2006