/* -*- C++ -*-
* rotategroup.h
* $Id: rotategroup.h,v 1.2 2000/07/21 22:31:44 ghali Exp $
*/
#ifndef ROTATEGROUP_H
#define ROTATEGROUP_H
#include "../geom/vector3d.h"
#include "transformgroup.h"
namespace MSG {
class RotateGroup : public TransformGroup {
double angle;
Vector3d axis;
public:
RotateGroup(double _angle /* in degrees */,
// using a Direction3d for _axis is unnecessary
// because OpenGL doesn't care
const Vector3d& _axis);
void applyTransformation();
virtual void render(std::vector<ActiveLight*>* &activelights,
std::vector<TransformGroup*> transforms);
};
}
#endif