class PanoramaToCubeMapTools
Helper class usefull to convert panorama picture to their cubemap representation in 6 faces.
Converts a panorma stored in RGB right to left up to down format into a cubemap (6 faces).
* @param float32Array The source data.
@return The cubemap data
Name | Type | Description | |
---|---|---|---|
float32Array | Float32Array | The source data. | |
inputWidth | number | The width of the input panorama. | |
inputHeight | number |