/*-----------------------------------------------------------------
LOG
    GEM - Graphics Environment for Multimedia

    A vertex_scale

    Copyright (c) 1997-2000 Mark Danks. mark@danks.org
    Copyright (c) G¸nther Geiger. geiger@epy.co.at
    Copyright (c) 2001-2002 IOhannes m zmoelnig. forum::f¸r::uml‰ute. IEM. zmoelnig@iem.kug.ac.at
    For information on usage and redistribution, and for a DISCLAIMER OF ALL
    WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution.

-----------------------------------------------------------------*/

#ifndef INCLUDE_VERTEX_OFFSET_H_
#define INCLUDE_VERTEX_OFFSET_H_

#include "vertex_scale.h"

/*-----------------------------------------------------------------
-------------------------------------------------------------------
CLASS
    vertex_offset
    
    Creates a vertex_offset

KEYWORDS
    geo
    
DESCRIPTION
    
-----------------------------------------------------------------*/
class GEM_EXTERN vertex_offset : public vertex_scale
{
  CPPEXTERN_HEADER(vertex_offset, vertex_scale)

    public:

  //////////
  // Constructor
  vertex_offset(int, t_atom*);
    	
 protected:
    	
  //////////
  // Destructor
  virtual ~vertex_offset();

  virtual void paramMess(int,t_atom*);
  float	m_x,m_y,m_z,m_w;
  
  //////////
  // Do the rendering
  virtual void  vertexProcess(int,GLfloat *);

 private:
  //static void 	offsetMessCallback(void *data, t_symbol*, int, t_atom*);
};

#endif	// for header file
