Buckets:
ktongue/docker_container / simsite /frontend /node_modules /three-stdlib /_polyfill /CapsuleGeometry.cjs
| ; | |
| Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); | |
| const THREE = require("three"); | |
| const CapsuleGeometry = /* @__PURE__ */ (() => { | |
| class CapsuleGeometry2 extends THREE.LatheGeometry { | |
| constructor(radius = 1, length = 1, capSegments = 4, radialSegments = 8) { | |
| const path = new THREE.Path(); | |
| path.absarc(0, -length / 2, radius, Math.PI * 1.5, 0); | |
| path.absarc(0, length / 2, radius, 0, Math.PI * 0.5); | |
| super(path.getPoints(capSegments), radialSegments); | |
| this.type = "CapsuleGeometry"; | |
| this.parameters = { | |
| radius, | |
| height: length, | |
| capSegments, | |
| radialSegments | |
| }; | |
| } | |
| static fromJSON(data) { | |
| return new CapsuleGeometry2(data.radius, data.length, data.capSegments, data.radialSegments); | |
| } | |
| } | |
| return CapsuleGeometry2; | |
| })(); | |
| exports.CapsuleGeometry = CapsuleGeometry; | |
| //# sourceMappingURL=CapsuleGeometry.cjs.map | |
Xet Storage Details
- Size:
- 939 Bytes
- Xet hash:
- 306dc882848da1b477f8cdf38bbe9f81fc0617d7d0fb4dbe50ae8c8eac14a4b2
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.