diff --git a/src/assets/Res.ts b/src/assets/Res.ts index 8e2b768c..b60f37ea 100644 --- a/src/assets/Res.ts +++ b/src/assets/Res.ts @@ -357,7 +357,7 @@ export class Res { /** * load texture data from array of web url. * make sure there are six images in a group, - * and the order is: nx, px, py, ny, nz, pz + * and the order is: [+X, -X, +Y, -Y, +Z, -Z] * @param urls */ public async loadTextureCubeMaps(urls: string[]) { diff --git a/src/textures/BitmapTextureCube.ts b/src/textures/BitmapTextureCube.ts index d6b254d3..efc43f68 100644 --- a/src/textures/BitmapTextureCube.ts +++ b/src/textures/BitmapTextureCube.ts @@ -167,7 +167,7 @@ export class BitmapTextureCube extends TextureCube { /** * load texture data from array of web url. * make sure there are six images in a group, - * and the order is: nx, px, py, ny, nz, pz + * and the order is: [+X, -X, +Y, -Y, +Z, -Z] * @param urls array of image url */ public async load(urls: string[]) {