// -*- Mode: c++ -*-
// $Id: float2.C,v 1.2 1998/02/11 03:46:41 neel Exp $
// $Source: /u2/graphics/projects/6.838/gvis/gprims/float2.C,v $

static char
__rcs_ref_float2_c( void )
{
  static char rcs_id_c[] = "$Header: /u2/graphics/projects/6.838/gvis/gprims/float2.C,v 1.2 1998/02/11 03:46:41 neel Exp $";
  return rcs_id_c[0];
}
// do not edit anything above this line
static char avoid_stupid_compiler_warnings = __rcs_ref_float2_c();

#include "float2.H"
#include <iostream.h>
#include <math.h>
#include "utils.H"

void
Float2::print(ostream& os) const
{
  os << v[0] << " " << v[1];
}

ostream&
operator<<( ostream& os, const Float2& c )
{
  c.print( os );	
  return os;
}

istream&
operator>>( istream& is, Float2& f )
{
  return is >> f.v[0] >> f.v[1];
}

