Class ODE::Force
In: lib/ode/force.rb  (CVS)
Parent: ODE::Vector

Instances of this class represent a 3-dimensional linear force vector that can be applied to an ODE::Body to move it around.

Methods

new  

Constants

Version = /([\d\.]+)/.match( %q$Revision: 1.2 $ )[1]   Class constants
Rcsid = %q$Id: force.rb 91 2005-07-27 23:45:01Z ged $

Public Class methods

Create and return a new Force object with the specified coordinates.

[Source]

# File lib/ode/force.rb, line 41
        def initialize( x=0, y=0, z=0 )
            super( x, y, z )
        end

[Validate]