Browse Source

docs: sphere type and reference

astanusic 2 years ago
parent
commit
054d3405ae
1 changed files with 14 additions and 0 deletions
  1. 14 0
      docs/cientos/shapes/sphere.md

+ 14 - 0
docs/cientos/shapes/sphere.md

@@ -4,6 +4,20 @@
 
 The `cientos` package provides a `<Sphere />` component that serves as a short-cut for a `SphereGeometry` and a `MeshBasicMaterial` with a `Mesh` object.
 
+```typescript
+args: [
+         radius: number,
+         widthSegments: number,
+         heightSegments: number,
+         phiStart: number,
+         phiLength: number,
+         thetaStart: number,
+         thetaLength: number
+      ]
+```
+reference: [SphereGeometry](https://threejs.org/docs/?q=sphere#api/en/geometries/SphereGeometry)
+
+
 ## Usage
 
 ```html