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

Function ConeGeometry1

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

Source from the content-addressed store, hash-verified

78110var ConeGeometry = function(_TruncatedConeGeometr) {
78111 (0, _inheritsDefault.default)(ConeGeometry1, _TruncatedConeGeometr);
78112 function ConeGeometry1() {
78113 var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
78114 (0, _classCallCheckDefault.default)(this, ConeGeometry1);
78115 var _props$id = props.id, id = _props$id === void 0 ? (0, _webgl.uid)("cone-geometry") : _props$id, _props$radius = props.radius, radius = _props$radius === void 0 ? 1 : _props$radius, _props$cap = props.cap, cap = _props$cap === void 0 ? true : _props$cap;
78116 return (0, _possibleConstructorReturnDefault.default)(this, (0, _getPrototypeOfDefault.default)(ConeGeometry1).call(this, (0, _objectSpreadDefault.default)({}, props, {
78117 id: id,
78118 topRadius: 0,
78119 topCap: Boolean(cap),
78120 bottomCap: Boolean(cap),
78121 bottomRadius: radius
78122 })));
78123 }
78124 return ConeGeometry1;
78125}((0, _truncatedConeGeometryDefault.default));
78126

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected