RotateSphere() public static method

public static RotateSphere ( Sphere s, Vector3D axis, double rotation ) : void
s Sphere
axis Vector3D
rotation double
return void
コード例 #1
0
        /// <summary>
        /// Helper to rotate a sphere about the z axis.
        /// </summary>
        internal static void RotateSphere(Sphere s, double rotation)
        {
            Vector3D zAxis = new Vector3D(0, 0, 1);

            Sphere.RotateSphere(s, zAxis, rotation);
        }