Exemplo n.º 1
0
        /// <summary>
        /// Rotates the camera by the angles in the three dimensions
        /// </summary>
        /// <param name="thetax">Angle around the x axis in degrees</param>
        /// <param name="thetay">Angle around the y axis in degrees</param>
        /// <param name="thetaz">Angle around the z axis in degrees</param>
        public void Rotate(double thetax, double thetay, double thetaz)
        {
            var Rx = Matrix3d.GetRotationX(thetax);
            var Ry = Matrix3d.GetRotationY(thetay);
            var Rz = Matrix3d.GetRotationZ(thetaz);

            Rotate(Rx * Ry * Rz);
        }