Share via


SphericalHarmonics.Rotate Method ()

Rotates the spherical harmonic (SH) vector by the given matrix.

Overload List

public static void Rotate(GraphicsStream, int, Matrix, GraphicsStream);
public static void Rotate(GraphicsStream, int, Matrix, float[]);
public static void Rotate(float[], int, Matrix, GraphicsStream);
public static void Rotate(float[], int, Matrix, float[]);

Remarks

Each coefficient of the basis function Ylm is stored at location l2 + m + l, where:

  • l is the degree of the basis function.
  • m is the basis function index for the given l value and ranges from -l to l, inclusive.