no message

This commit is contained in:
Chris Gilbert
2002-11-19 23:02:02 +00:00
parent 93e5f253a0
commit bd4b8875fc
2 changed files with 3 additions and 8 deletions
+1 -3
View File
@@ -18,12 +18,10 @@
Sample3dObject::Sample3dObject() Sample3dObject::Sample3dObject()
{ {
rot = 0; rot = 0;
Sample3dObject::Update();
DrawPrimitives();
} }
void Sample3dObject::Update() void Sample3dObject::Update( float fDeltaTime )
{ {
rot += fDeltaTime * 360.f; rot += fDeltaTime * 360.f;
rot = float(fmod(rot, 360.f)); rot = float(fmod(rot, 360.f));
+2 -5
View File
@@ -6,13 +6,10 @@
class Sample3dObject: public ActorFrame class Sample3dObject: public ActorFrame
{ {
float rot; float rot;
float fDeltaTime;
float tX;
float tY;
float tZ;
public: public:
Sample3dObject(); Sample3dObject();
void Update(); void Update( float fDeltaTime );
void DrawPrimitives(); void DrawPrimitives();
}; };