Pārlūkot izejas kodu

Update copyTools.ts

aWeirdo 4 gadi atpakaļ
vecāks
revīzija
11522944e4
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/Misc/copyTools.ts

+ 2 - 2
src/Misc/copyTools.ts

@@ -3,7 +3,7 @@ import { Nullable } from "../types";
 /**
  * Class used to host copy specific utilities
  */
-export class copyTools {
+export class CopyTools {
     /**
      * Reads the pixels stored in the webgl texture and returns them as a base64 string
      * @param texture defines the texture to read pixels from
@@ -11,7 +11,7 @@ export class copyTools {
      * @param level defines the LOD level of the texture to read (in case of Mip Maps)
      * @returns The base64 encoded string or null
      */
-    public static GenerateBase64StringFromTexture(texture: Any, faceIndex = 0, level = 0): Nullable<string> {
+    public static GenerateBase64StringFromTexture(texture: any, faceIndex = 0, level = 0): Nullable<string> {
         if (!texture) {
             return null;
         }