lView();
          transforms.push();

          // Depending on which object, apply transformation
          if (object.alias === 'sphere') {
            const sphereTransform = transforms.modelViewMatrix;
            mat4.translate(sphereTransform, sphereTransform, [0, 0, spherePosition]);
          }
          else if (object.alias === 'cone') {
            const coneTransform = transforms.modelViewMatrix;
            mat4.translate(coneTransform, coneTransform, [conePosition, 0, 0]);
          }

      