Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions types/three/three-core.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5110,6 +5110,7 @@ export class Mesh extends Object3D {
drawMode: TrianglesDrawModes;
morphTargetInfluences?: number[];
morphTargetDictionary?: { [key: string]: number; };
isMesh: boolean;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this meant to be part of the PR? It might be better to add it in a separate PR

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also note that the indentation is off here.


setDrawMode(drawMode: TrianglesDrawModes): void;
updateMorphTargets(): void;
Expand Down
8 changes: 8 additions & 0 deletions types/three/three-transformcontrols.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import { Camera, Object3D } from "./three-core";

export class TransformControls extends Object3D {
constructor(object: Camera, domElement?: HTMLElement);

size: number;

space: string;

object: Object3D;

Expand All @@ -20,5 +24,9 @@ export class TransformControls extends Object3D {
setSize(size: number): void;

setSpace(space: string): void;

setTranslationSnap(size: number): void;

setRotationSnap(size: number): void;

}