sample/assets/js/babylon.max.js
function DynamicFloatArray(stride, initialElementCount) {
            this.compareValueOffset = null;
            this.sortingAscending = true;
            this._stride = stride;
            this.buffer = new Float32Array(stride * initialElementCount);
            this._lastUsed = 0;
            this._firstFree = 0;
            this._allEntries = new Array(initialElementCount);
            this._freeEntries = new Array(initialElementCount);
            for (var i = 0; i < initialElementCount; i++) {
                var element = new DynamicFloatArrayElementInfo();
                element.offset = i * stride;
                this._allEntries[i] = element;
                this._freeEntries[initialElementCount - i - 1] = element;
            }
        }
function DynamicFloatArray(stride, initialElementCount) {
            this.compareValueOffset = null;
            this.sortingAscending = true;
            this._stride = stride;
            this.buffer = new Float32Array(stride * initialElementCount);
            this._lastUsed = 0;
            this._firstFree = 0;
            this._allEntries = new Array(initialElementCount);
            this._freeEntries = new Array(initialElementCount);
            for (var i = 0; i < initialElementCount; i++) {
                var element = new DynamicFloatArrayElementInfo();
                element.offset = i * stride;
                this._allEntries[i] = element;
                this._freeEntries[initialElementCount - i - 1] = element;
            }
        }
function DynamicFloatArray ( stride , initialElementCount ) { this . compareValueOffset = null ; this . sortingAscending = true ; this . _stride = stride ; this . buffer = new Float32Array ( stride * initialElementCount ) ; this . _lastUsed = 0 ; this . _firstFree = 0 ; this . _allEntries = new Array ( initialElementCount ) ; this . _freeEntries = new Array ( initialElementCount ) ; for ( var i = 0 ; i < initialElementCount ; i ++ ) { var element = new DynamicFloatArrayElementInfo ( ) ; element . offset = i * stride ; this . _allEntries [ i ] = element ; this . _freeEntries [ initialElementCount - i - 1 ] = element ; } }
Construct an instance of the dynamic float array
@param stride size of one element in float (i.e. not bytes!)
@param initialElementCount the number of available entries at construction
Construct an instance of the dynamic float array