00001
00002
00003
00004
00005
00006 #ifndef TWIST_H
00007 #define TWIST_H
00008
00009 #include<Transformation.h>
00010
00011 #include<Vertex3.h>
00012 #include<real.h>
00013
00016 class Twist : public Transformation
00017 {
00018 DYNAMIC_OBJECT;
00019 public:
00020 Twist() {}
00021
00022
00023 real distance(const Vertex3 &v);
00024
00025
00026 Color4 calculateShade(
00027 const SurfaceInfo &s, Vertex3 &transformed, Scene &scene);
00028
00029 private:
00030 typedef Transformation super;
00031 };
00032 #endif