Skip to content

Commit

Permalink
docs: move clouds frustum culled info (#1869)
Browse files Browse the repository at this point in the history
  • Loading branch information
vis-prime authored Mar 12, 2024
1 parent eda9829 commit 721096d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4887,6 +4887,8 @@ type CloudsProps = JSX.IntrinsicElements['group'] & {
range?: number
/** Which material it will override, default: MeshLambertMaterial */
material?: typeof Material
/** Frustum culling, default: true */
frustumCulled?: boolean
}
type CloudProps = JSX.IntrinsicElements['group'] & {
Expand Down
4 changes: 2 additions & 2 deletions src/core/Cloud.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ type CloudsProps = JSX.IntrinsicElements['group'] & {
range?: number
/** Which material it will override, default: MeshLambertMaterial */
material?: typeof Material
/** Frustum culling, default: true */
frustumCulled?: boolean
}

type CloudProps = JSX.IntrinsicElements['group'] & {
Expand Down Expand Up @@ -88,8 +90,6 @@ type CloudProps = JSX.IntrinsicElements['group'] & {
opacity?: number
/** Color, default: white */
color?: ReactThreeFiber.Color
/** Frustum culling, default: true */
frustumCulled?: boolean
}

const parentMatrix = /* @__PURE__ */ new Matrix4()
Expand Down

0 comments on commit 721096d

Please sign in to comment.