getBasisAt

fun getBasisAt(normal: Vector3, shBasis: DoubleArray)

Computes the SH basis for the given normal vector.

Parameters

normal

The normal.

shBasis

The target array holding the SH basis.