mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
Merge pull request #23551 from shroudedcode/three-rename-axishelper
[three] Rename AxisHelper to AxesHelper
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
scene = new THREE.Scene();
|
||||
|
||||
var light: THREE.DirectionalLight, object: THREE.Mesh | THREE.AxisHelper | THREE.ArrowHelper;
|
||||
var light: THREE.DirectionalLight, object: THREE.Mesh | THREE.AxesHelper | THREE.ArrowHelper;
|
||||
|
||||
scene.add(new THREE.AmbientLight(0x404040));
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
object.position.set(0, 0, -200);
|
||||
scene.add(object);
|
||||
|
||||
object = new THREE.AxisHelper(50);
|
||||
object = new THREE.AxesHelper(50);
|
||||
object.position.set(200, 0, -200);
|
||||
scene.add(object);
|
||||
|
||||
|
||||
2
types/three/three-core.d.ts
vendored
2
types/three/three-core.d.ts
vendored
@@ -6951,7 +6951,7 @@ export class ArrowHelper extends Object3D {
|
||||
setColor(hex: number): void;
|
||||
}
|
||||
|
||||
export class AxisHelper extends LineSegments {
|
||||
export class AxesHelper extends LineSegments {
|
||||
constructor(size?: number);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user