Copyright (C) 1994, Digital Equipment Corp.
Created by Marc Najork
Animations in the 3D animation library are specified in terms of their
duration (as opposed to in terms of number of frames etc.). A Clock.T
is an object that represents the clock used by the animation server to
drive the animation. A Clock.T
object encapsulates a real-time clock;
subtypes of Clock.T
may encapsulate other kinds of clocks. For instance,
a ZeusClock.T
is a clock whose speed is determined by the animation
speed slider in the Zeus control panel.
INTERFACEClock ; TYPE T <: Public; Public = OBJECT METHODS init () : T; time () : LONGREAL; END;
Theinit
method initializes a newClock.T
object. Thetime
method returns the current time of this clock.
END Clock.