SVGravity.mesa
Copyright © 1986 by Xerox Corporation. All rights reserved.
Last edited by Bier on February 17, 1987 11:19:15 pm PST
Contents: Routines to snap the skitter to faces, segments, and points in the scene.
DIRECTORY
SV2d, SV3d, SVSceneTypes, SVRayTypes;
SVGravity: CEDAR DEFINITIONS =
BEGIN
Assembly: TYPE = SVSceneTypes.Assembly;
Point2d: TYPE = SV2d.Point2d;
Point3d: TYPE = SV3d.Point3d;
Camera: TYPE = SVSceneTypes.Camera;
CSGTree: TYPE = SVRayTypes.CSGTree;
Scene: TYPE = SVSceneTypes.Scene;
SearchDepth: TYPE = SVRayTypes.SearchDepth;
Vector3d: TYPE = SV3d.Vector3d;
PointsOrSurfaces: PROC [cameraPoint: Point2d, camera: Camera, scene: Scene, tree: CSGTree, criticalR: REAL, searchDepth: SearchDepth] RETURNS [surfacePtWORLD: Point3d, normalWORLD: Vector3d, assembly: Assembly];
END.