Skip to content
Snippets Groups Projects
Commit f8fce625 authored by Kevin Lee's avatar Kevin Lee
Browse files

lint fixes

parent bea3b539
No related branches found
No related tags found
No related merge requests found
......@@ -8,8 +8,8 @@ AFRAME.registerComponent("duck", {
init: function() {
this.system = this.el.sceneEl.systems.physics;
this.hasBody = false;
this.position = new CANNON.Vec3();
this.force = new CANNON.Vec3(0, this.data.initialForce, 0);
this.position = new THREE.Vector3();
this.force = new THREE.Vector3(0, this.data.initialForce, 0);
this.initialScale = this.el.object3D.scale.x;
this.maxScale = this.data.maxScale * this.initialScale;
......
......@@ -45,7 +45,6 @@ AFRAME.registerComponent("haptic-feedback", {
handlePulse: function(event) {
const { intensity } = event.detail;
let strength;
if (strengthForIntensity[intensity]) {
this.pulse(strengthForIntensity[intensity]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment