initializeObjects(): void { this.objects.push(new Cone( gl, "textures/chessboard.png", 8, 2, 40, (matrix: glm.mat4) => { glm.mat4.translate(matrix, matrix, glm.vec3.fromValues(-35, 0, -35)); } )); this.objects.push(new Cone( gl, "textures/chessboard.png", 8, 2, 40, (matrix: glm.mat4) => { glm.mat4.translate(matrix, matrix, glm.vec3.fromValues(-35, 0, 35)); } )); this.objects.push(new Cone( gl, "textures/chessboard.png", 8, 2, 40, (matrix: glm.mat4) => { glm.mat4.translate(matrix, matrix, glm.vec3.fromValues(35, 0, -35)); } )); this.objects.push(new Cone( gl, "textures/chessboard.png", 8, 2, 40, (matrix: glm.mat4) => { glm.mat4.translate(matrix, matrix, glm.vec3.fromValues(35, 0, 35)); } )); this.objects.push(new Plane( gl, "textures/chessboard.png", 90, 90, (matrix: glm.mat4) => { glm.mat4.translate(matrix, matrix, glm.vec3.fromValues(0, -20, 0)); } )); this.objects.push(new Torus( gl, "textures/chessboard.png", 10, 5, (matrix: glm.mat4) => { glm.mat4.translate(matrix, matrix, glm.vec3.fromValues(-10, -5, -10)); } )); this.objects.push(new Crescent( gl, "textures/chessboard.png", 10, 15, 3, 2, (matrix: glm.mat4) => { glm.mat4.translate(matrix, matrix, glm.vec3.fromValues(10, -20, -10)); } )); this.objects.push(new Sphere( gl, "textures/chessboard.png", 10, (matrix: glm.mat4) => { glm.mat4.translate(matrix, matrix, glm.vec3.fromValues(0, -10, 20)); } )); this.lightSphere = new Sphere( gl, "textures/white.png", 1.5 ); }