sample/assets/js/babylon.max.js
function EdgesRenderer(source, epsilon, checkVerticesInsteadOfIndices) {
            if (epsilon === void 0) { epsilon = 0.95; }
            if (checkVerticesInsteadOfIndices === void 0) { checkVerticesInsteadOfIndices = false; }
            this.edgesWidthScalerForOrthographic = 1000.0;
            this.edgesWidthScalerForPerspective = 50.0;
            this._linesPositions = new Array();
            this._linesNormals = new Array();
            this._linesIndices = new Array();
            this._buffers = {};
            this._checkVerticesInsteadOfIndices = false;
            this._source = source;
            this._checkVerticesInsteadOfIndices = checkVerticesInsteadOfIndices;
            this._epsilon = epsilon;
            this._prepareRessources();
            this._generateEdgesLines();
        }
function EdgesRenderer(source, epsilon, checkVerticesInsteadOfIndices) {
            if (epsilon === void 0) { epsilon = 0.95; }
            if (checkVerticesInsteadOfIndices === void 0) { checkVerticesInsteadOfIndices = false; }
            this.edgesWidthScalerForOrthographic = 1000.0;
            this.edgesWidthScalerForPerspective = 50.0;
            this._linesPositions = new Array();
            this._linesNormals = new Array();
            this._linesIndices = new Array();
            this._buffers = {};
            this._checkVerticesInsteadOfIndices = false;
            this._source = source;
            this._checkVerticesInsteadOfIndices = checkVerticesInsteadOfIndices;
            this._epsilon = epsilon;
            this._prepareRessources();
            this._generateEdgesLines();
        }
function EdgesRenderer ( source , epsilon , checkVerticesInsteadOfIndices ) { if ( epsilon === void 0 ) { epsilon = 0.95 ; } if ( checkVerticesInsteadOfIndices === void 0 ) { checkVerticesInsteadOfIndices = false ; } this . edgesWidthScalerForOrthographic = 1000.0 ; this . edgesWidthScalerForPerspective = 50.0 ; this . _linesPositions = new Array ( ) ; this . _linesNormals = new Array ( ) ; this . _linesIndices = new Array ( ) ; this . _buffers = { } ; this . _checkVerticesInsteadOfIndices = false ; this . _source = source ; this . _checkVerticesInsteadOfIndices = checkVerticesInsteadOfIndices ; this . _epsilon = epsilon ; this . _prepareRessources ( ) ; this . _generateEdgesLines ( ) ; }
Beware when you use this class with complex objects as the adjacencies computation can be really long
Beware when you use this class with complex objects as the adjacencies computation can be really long