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

Function CylinderGeometry1

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

Source from the content-addressed store, hash-verified

78559var CylinderGeometry = function(_TruncatedConeGeometr) {
78560 (0, _inheritsDefault.default)(CylinderGeometry1, _TruncatedConeGeometr);
78561 function CylinderGeometry1() {
78562 var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
78563 (0, _classCallCheckDefault.default)(this, CylinderGeometry1);
78564 var _props$id = props.id, id = _props$id === void 0 ? (0, _webgl.uid)("cylinder-geometry") : _props$id, _props$radius = props.radius, radius = _props$radius === void 0 ? 1 : _props$radius;
78565 return (0, _possibleConstructorReturnDefault.default)(this, (0, _getPrototypeOfDefault.default)(CylinderGeometry1).call(this, (0, _objectSpreadDefault.default)({}, props, {
78566 id: id,
78567 bottomRadius: radius,
78568 topRadius: radius
78569 })));
78570 }
78571 return CylinderGeometry1;
78572}((0, _truncatedConeGeometryDefault.default));
78573

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected