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

Function SphereGeometry1

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

Source from the content-addressed store, hash-verified

78963var SphereGeometry = function(_Geometry) {
78964 (0, _inheritsDefault.default)(SphereGeometry1, _Geometry);
78965 function SphereGeometry1() {
78966 var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
78967 (0, _classCallCheckDefault.default)(this, SphereGeometry1);
78968 var _props$id = props.id, id = _props$id === void 0 ? (0, _webgl.uid)("sphere-geometry") : _props$id;
78969 var _tesselateSphere = tesselateSphere(props), indices = _tesselateSphere.indices, attributes = _tesselateSphere.attributes;
78970 return (0, _possibleConstructorReturnDefault.default)(this, (0, _getPrototypeOfDefault.default)(SphereGeometry1).call(this, (0, _objectSpreadDefault.default)({}, props, {
78971 id: id,
78972 indices: indices,
78973 attributes: (0, _objectSpreadDefault.default)({}, attributes, props.attributes)
78974 })));
78975 }
78976 return SphereGeometry1;
78977}((0, _geometryDefault.default));
78978function tesselateSphere(props) {

Callers

nothing calls this directly

Calls 1

tesselateSphereFunction · 0.70

Tested by

no test coverage detected