SphericalHarmonics.Scale Method ()

Scales a spherical harmonic (SH) vector, in other words, Out[i] = A[i] * Scale.

Overload List

public static void Scale(GraphicsStream, int, GraphicsStream, float);
public static void Scale(GraphicsStream, int, float[], float);
public static void Scale(float[], int, GraphicsStream, float);
public static void Scale(float[], int, float[], 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.
Show: