Skip to content

Commit

Permalink
fix: types Geometry (#208)
Browse files Browse the repository at this point in the history
* fix: types Geometry setIndex()

* fix: types Geometry computeBoundingBox()
  • Loading branch information
pschroen authored Apr 9, 2024
1 parent b6fcc0b commit 4d090fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/core/Geometry.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class Geometry {

updateAttribute(attr: Partial<Attribute>): void;

setIndex(value: Attribute): void;
setIndex(attr: Partial<Attribute>): void;

setDrawRange(start: number, count: number): void;

Expand All @@ -81,7 +81,7 @@ export class Geometry {

getPosition(): Partial<Attribute>;

computeBoundingBox(attr: Partial<Attribute>): void;
computeBoundingBox(attr?: Partial<Attribute>): void;

computeBoundingSphere(attr?: Partial<Attribute>): void;

Expand Down

0 comments on commit 4d090fa

Please sign in to comment.