vector.rb

Path: lib/ode/vector.rb  (CVS)
Last Update: Wed Jul 27 19:46:00 EDT 2005

This file contains the ODE::Vector class, instances of which represent a 3rd-order vector of some sort. It is the superclass for classes like ODE::AngularVelocity, ODE::LinearVelocity, and ODE::ForceVector.

The foundations of this class were copied from the GLIT::Vec class from the ‘alg3d’ library by Issac Trotts.

Author

Based on the GLIT::Vec class from the ‘alg3d’ library by Issac Trotts. Used under the following licensing terms:

  alg3d.rb : an any-dimensional vector and 3D spinor (quaternion)

  Copyright (c) 2001, 2003 Issac Trotts <itrotts at idolminds dot com>
  Under the Ruby license

Modifications, additional code, and any mistakes by:

  * Michael Granger <ged@FaerieMUD.org>

Copyright © 2002, 2003 The FaerieMUD Consortium.

This work is licensed under the Creative Commons Attribution License. To view a copy of this license, visit creativecommons.org/licenses/by/1.0 or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.

Version

 $Id: vector.rb 91 2005-07-27 23:45:01Z ged $

Required files

ode/Quaternion  

[Validate]