module.exports = {
    ArrayVectorMultifly:(a, v)=>{
        return [a[0]*v.X,a[1]*v.Y,a[2]*v.Z]
    },
    MakeVertexsData:(gl,bufferType)=>{
        const data = require('./data/arraybuffer')
        let bufferData = data[bufferType];
    
        let vertexBuffer = gl.createBuffer();
        gl.bindBuffer(gl.ARRAY_BUFFER, vertexBuffer)
        gl.bufferData(gl.ARRAY_BUFFER, new Float32Array(bufferData.vertical), gl.STATIC_DRAW)
        vertexBuffer.itemSize = 3;
        vertexBuffer.numItem = bufferData.numItem;  
        return vertexBuffer;
    },
    MakeRectUVData:(gl,dw,dh,ar)=>{
        const _w = 1 / dw, _h = 1 / dh;
        const uvData = [
            ar[0]*_w,           (ar[1]+ar[3])*_h, 
            (ar[0]+ar[2])*_w,   (ar[1]+ar[3])*_h,
            ar[0]*_w,           ar[1]*_h,
            (ar[0]+ar[2])*_w,   ar[1]*_h
        ];
        
        let UVBuffer = gl.createBuffer()
        gl.bindBuffer(gl.ARRAY_BUFFER, UVBuffer)
        gl.bufferData(gl.ARRAY_BUFFER, new Float32Array(uvData), gl.STATIC_DRAW)
        UVBuffer.itemSize = 2;
        UVBuffer.numItem = 4;
        return UVBuffer;
    }
}
@@ -1110,19 +1110,164 @@
 n UVBuffer;%0A
+    %7D,%0A    getPowerOfTwo:(value, pow = 1)=%3E%7B%0A        pow = pow;%0A        while(pow %3C value) %7B%0A            pow *= 2;%0A        %7D%0A        return pow;%0A
     %7D%0A%7D

Fix 'utils pow'