MCPcopy Create free account
hub / github.com/microsoft/SandDance / Model1

Function Model1

docs/app/js/sanddance-app.js:67270–67280  ·  view source on GitHub ↗
(gl)

Source from the content-addressed store, hash-verified

67268var DRAW_PARAMS = {};
67269var Model = function() {
67270 function Model1(gl) {
67271 var props = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
67272 (0, _classCallCheckDefault.default)(this, Model1);
67273 var _props$id = props.id, id = _props$id === void 0 ? (0, _webgl.uid)("model") : _props$id;
67274 (0, _webgl.assert)((0, _gltools.isWebGL)(gl));
67275 this.id = id;
67276 this.gl = gl;
67277 this.id = props.id || (0, _webgl.uid)("Model");
67278 this.lastLogTime = 0;
67279 this.initialize(props);
67280 }
67281 (0, _createClassDefault.default)(Model1, [
67282 {
67283 key: "initialize",

Callers

nothing calls this directly

Calls 1

initializeMethod · 0.65

Tested by

no test coverage detected