Compare commits
2 Commits
92710b3fc2
...
7de2688785
| Author | SHA1 | Date | |
|---|---|---|---|
| 7de2688785 | |||
| f7b6be4782 |
@@ -23,7 +23,7 @@ class AAFHomepage {
|
|||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
this.scene = new THREE.Scene()
|
this.scene = new THREE.Scene()
|
||||||
this.camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000)
|
this.camera = new THREE.PerspectiveCamera(45, window.innerWidth / window.innerHeight, 0.1, 1000)
|
||||||
|
|
||||||
const canvas = document.getElementById('three-canvas') as HTMLCanvasElement
|
const canvas = document.getElementById('three-canvas') as HTMLCanvasElement
|
||||||
|
|
||||||
|
|||||||
@@ -252,7 +252,7 @@ export class ModelLoader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Create multiple instances of the loaded model
|
// Create multiple instances of the loaded model
|
||||||
const numInstances = 20
|
const numInstances = 30
|
||||||
|
|
||||||
// Create polished gun metal material
|
// Create polished gun metal material
|
||||||
const gunMetalMaterial = new THREE.MeshStandardMaterial({
|
const gunMetalMaterial = new THREE.MeshStandardMaterial({
|
||||||
|
|||||||
Reference in New Issue
Block a user