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

Function IcoSphereGeometry1

docs/app/js/sanddance-app.js:78640–78650  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78638var IcoSphereGeometry = function(_Geometry) {
78639 (0, _inheritsDefault.default)(IcoSphereGeometry1, _Geometry);
78640 function IcoSphereGeometry1() {
78641 var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
78642 (0, _classCallCheckDefault.default)(this, IcoSphereGeometry1);
78643 var _props$id = props.id, id = _props$id === void 0 ? (0, _webgl.uid)("ico-sphere-geometry") : _props$id;
78644 var _tesselateIcosaHedron = tesselateIcosaHedron(props), indices = _tesselateIcosaHedron.indices, attributes = _tesselateIcosaHedron.attributes;
78645 return (0, _possibleConstructorReturnDefault.default)(this, (0, _getPrototypeOfDefault.default)(IcoSphereGeometry1).call(this, (0, _objectSpreadDefault.default)({}, props, {
78646 id: id,
78647 indices: indices,
78648 attributes: (0, _objectSpreadDefault.default)({}, attributes, props.attributes)
78649 })));
78650 }
78651 return IcoSphereGeometry1;
78652}((0, _geometryDefault.default));
78653function tesselateIcosaHedron(props) {

Callers

nothing calls this directly

Calls 1

tesselateIcosaHedronFunction · 0.70

Tested by

no test coverage detected