diff --git a/js/Player.js b/js/Player.js index 16590ab..97a060a 100644 --- a/js/Player.js +++ b/js/Player.js @@ -93,7 +93,7 @@ export class Player extends Cube { // Apply the player matrix for the vector const globalVertex = localVertex.applyMatrix4(this.data.matrix); - // Substract the position from it + // Substract the position to obtain the position const directionVector = globalVertex.sub(this.data.position); // Create the raycaster for this vector from the player position