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

Function PlaneGeometry1

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

Source from the content-addressed store, hash-verified

78819var PlaneGeometry = function(_Geometry) {
78820 (0, _inheritsDefault.default)(PlaneGeometry1, _Geometry);
78821 function PlaneGeometry1() {
78822 var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
78823 (0, _classCallCheckDefault.default)(this, PlaneGeometry1);
78824 var _props$id = props.id, id = _props$id === void 0 ? (0, _webgl.uid)("plane-geometry") : _props$id;
78825 var _tesselatePlane = tesselatePlane(props), indices = _tesselatePlane.indices, attributes = _tesselatePlane.attributes;
78826 return (0, _possibleConstructorReturnDefault.default)(this, (0, _getPrototypeOfDefault.default)(PlaneGeometry1).call(this, (0, _objectSpreadDefault.default)({}, props, {
78827 id: id,
78828 indices: indices,
78829 attributes: (0, _objectSpreadDefault.default)({}, attributes, props.attributes)
78830 })));
78831 }
78832 return PlaneGeometry1;
78833}((0, _geometryDefault.default));
78834function tesselatePlane(props) {

Callers

nothing calls this directly

Calls 1

tesselatePlaneFunction · 0.70

Tested by

no test coverage detected