#ifndef __SM_TWISTER

#define __SM_TWISTER

class SM_Twister : public IRenderable
{
public:
      SM_Twister      ();
      ~SM_Twister     ();

  int  Reset              ();
  int  Init               (int iShader, IKFAnimable* pAnimable);
  int  Shutdown           ();
  void Render             (RenderContext* pRenderContext, int iOutcode, float fTime); 

  
  Vector3D                m_v3dPosition;
  Quaternion              m_qRotation;
protected:
  static unsigned         ColorFromVector(float x, float y, float z);

  int                     m_iShader;    
  IKFAnimable*            m_pAnimable;
  MSurface                Heightmap;
};

#endif