/*   @(#) $Header: /usr/local/scalawags_cvs/Scalawags/Frc2006/map_linear.h,v 1.2 2005/05/13 23:47:00 abrown Exp $
 * Author:
 *	"Allen Brown" http://brown.armoredpenguin.com/~abrown/contact.html
 */

#ifndef map_linear_h
  #define map_linear_h
  #include "varsizes.h"
  /*
   * The value inval is mapped from the range i1:i2 -> q1:q2.
   */
  int16 map_linear(int16 q1, int16 q2, int16 i1, int16 i2, int16 inval);
#endif
/*
 * $Log: map_linear.h,v $
 * Revision 1.2  2005/05/13 23:47:00  abrown
 * Remove __ from defines.  Move Log to end of file.
 *
 * Revision 1.1  2005/02/20 00:25:58  abrown
 * Map a value from one range to another.
 */

