Esempio n. 1
0
        override public Capture BeginCapture(InputState input, CaptureSide eSide)
        {
            DrawSurfaceCurveTool tool =
                (context.ToolManager.ActiveRightTool as DrawSurfaceCurveTool);

            tool.BeginDraw_Ray(WorldRay(input));
            return(Capture.Begin(this));
        }
Esempio n. 2
0
        override public Capture BeginCapture(InputState input, CaptureSide eSide)
        {
            Ray3f sideRay             = (eSide == CaptureSide.Left) ? input.vLeftSpatialWorldRay : input.vRightSpatialWorldRay;
            DrawSurfaceCurveTool tool = context.ToolManager.GetActiveTool((int)eSide) as DrawSurfaceCurveTool;

            tool.BeginDraw_Ray(sideRay);
            return(Capture.Begin(this, eSide));
        }