MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / OBJ

Function OBJ

libs/mapv/mapv.3d.js:309–319  ·  view source on GitHub ↗
(GL, obj)

Source from the content-addressed store, hash-verified

307
308var OBJ = function () {
309 function OBJ(GL, obj) {
310 classCallCheck(this, OBJ);
311
312 this.GL = GL;
313 this.gl = GL.gl;
314 this.obj = obj = obj || {};
315 this.operate = [];
316 this.opearteID = 0;
317 this.opearteBuild = {};
318 this.color = colorTransform(obj.color || '#FFF');
319 }
320
321 createClass(OBJ, [{
322 key: 'translate',

Callers

nothing calls this directly

Calls 2

colorTransformFunction · 0.85
classCallCheckFunction · 0.70

Tested by

no test coverage detected