Animation3D.mesa
Copyright © 1984 by Xerox Corporation. All rights reserved.
Last Edited by: Crow, March 28, 1986 3:18:39 pm PST
DIRECTORY
Vector3d  USING [Triple];
Animation3D: CEDAR DEFINITIONS
~ BEGIN
Basic Types
Triple: TYPE ~ Vector3d.Triple;       -- RECORD [ x, y, z: REAL];
Procedures for Animation
These generate a sequence of positions to drive animations
MoveInOrbit: PROC[eyePt, lookingAt, axis: Triple, displayProc: PROC[Triple, Triple],
      framesPerRev, numFrames: NAT, startAt: NAT ← 0 ];
MoveOnLine: PROC[eyePt, lookingAt, toEyePt, toLookingAt: Triple,
       displayProc: PROC[Triple, Triple],
       numFrames: NAT, startAt: NAT ← 0 ];
MoveOnCurve: PROC[eyePts, lookingAts: LIST OF Triple,
       displayProc: PROC[Triple, Triple],
       numFrames: NAT, startAt: NAT ← 0 ];
END.