syncData()
    {
        for (let i = 0; i < 4; ++i)
        {
            const ix = i * 4;
            const vx = i * 2;

            this.interleaved[ix] = this.vertices[vx];
            this.interleaved[ix + 1] = this.vertices[vx + 1];
            this.interleaved[ix + 2] = this.uvs[vx];
            this.interleaved[ix + 3] = this.uvs[vx + 1];
        }
    }
/**
     * Synchronizes the data into the interleaved array.
     *
     */
Synchronizes the data into the interleaved array.
Synchronizes the data into the interleaved array .
syncData()
    {
        for (let i = 0; i < 4; ++i)
        {
            const ix = i * 4;
            const vx = i * 2;
            this.interleaved[ix] = this.vertices[vx];
            this.interleaved[ix + 1] = this.vertices[vx + 1];
            this.interleaved[ix + 2] = this.uvs[vx];
            this.interleaved[ix + 3] = this.uvs[vx + 1];
        }
    }
syncData ( ) { for ( let i = 0 ; i < 4 ; ++ i ) { const ix = i * 4 ; const vx = i * 2 ; this . interleaved [ ix ] = this . vertices [ vx ] ; this . interleaved [ ix + 1 ] = this . vertices [ vx + 1 ] ; this . interleaved [ ix + 2 ] = this . uvs [ vx ] ; this . interleaved [ ix + 3 ] = this . uvs [ vx + 1 ] ; } }
Synchronizes the data into the interleaved array.
Synchronizes the data into the interleaved array .