Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinyork committed Nov 5, 2024
2 parents df4a8dc + 6f45a02 commit 76e548b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions site/src/demo-0/gltfviewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as zip from '@zip.js/zip.js';
import type * as draco3d from 'draco3d';
import { Vector4, Vector3 } from '@zephyr3d/base';
import type { SceneNode, Scene, AnimationSet, OIT } from '@zephyr3d/scene';
import { Mesh, PlaneShape, LambertMaterial, FPSCameraController } from '@zephyr3d/scene';
import { Mesh, PlaneShape, LambertMaterial } from '@zephyr3d/scene';
import {
BatchGroup,
PostWater,
Expand Down Expand Up @@ -114,8 +114,7 @@ export class GLTFViewer {
);
this._camera.oit = this._oit;
this._camera.position.setXYZ(0, 0, 15);
//this._camera.controller = new OrbitCameraController();
this._camera.controller = new FPSCameraController();
this._camera.controller = new OrbitCameraController();
this._light0 = new DirectionalLight(this._scene)
.setColor(new Vector4(1, 1, 1, 1))
.setIntensity(8)
Expand Down

0 comments on commit 76e548b

Please sign in to comment.