public void RescaleProjectionMatrix() { if (EqualAxes) { m_transformMatrix.CalculateProjectionMatrix( Math.Min(m_3dChart.XMin(), Math.Min(m_3dChart.YMin(), m_3dChart.ZMin())), Math.Max(m_3dChart.XMax(), Math.Max(m_3dChart.YMax(), m_3dChart.ZMax())), Scale); } else { m_transformMatrix.CalculateProjectionMatrix(m_3dChart.XMin(), m_3dChart.XMax(), m_3dChart.YMin(), m_3dChart.YMax(), m_3dChart.ZMin(), m_3dChart.ZMax(), Scale); } TransformChart(); }