Esempio n. 1
0
        /// <inheritdoc />
        protected override void PreStep()
        {
            var ratio = _joint1.GetRatio();
            var L     = _joint1.GetCurrentLengthA() + ratio * _joint1.GetCurrentLengthB();

            DrawString($"L1 + {ratio:F2} * L2 = {L:F2}");
        }
Esempio n. 2
0
        /// <inheritdoc />
        public override void OnRender()
        {
            var ratio = _joint1.GetRatio();
            var L     = _joint1.GetCurrentLengthA() + ratio * _joint1.GetCurrentLengthB();

            DrawString($"L1 + {ratio:F2} * L2 = {L:F2}");
        }