override public Capture BeginCapture(InputState input, CaptureSide eSide) { DrawSurfaceCurveTool tool = (context.ToolManager.ActiveRightTool as DrawSurfaceCurveTool); tool.BeginDraw_Ray(WorldRay(input)); return(Capture.Begin(this)); }
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)); }