public static VirtualPointer Create(JointPositions joints, Gemoetry3D geometryHelper) { return(new VirtualPointer { Position = geometryHelper.Intersect(joints.Head, joints.Hand), Depth = geometryHelper.GetFingerTipDepth(joints.Hand), }); }
private void SetupGeometryHelper() { var pysicalDimensions = new Size(93.1, 52.4); var realtivePosition = new Vector3(-36, 6.5f, 0); var rotation = 15; this.geometryHelper = new Gemoetry3D(pysicalDimensions, realtivePosition, rotation); }