fix comment
This commit is contained in:
parent
167a1a296b
commit
27a349b521
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ export class Player extends Cube {
|
||||||
// Apply the player matrix for the vector
|
// Apply the player matrix for the vector
|
||||||
const globalVertex = localVertex.applyMatrix4(this.data.matrix);
|
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);
|
const directionVector = globalVertex.sub(this.data.position);
|
||||||
|
|
||||||
// Create the raycaster for this vector from the player position
|
// Create the raycaster for this vector from the player position
|
||||||
|
|
Reference in a new issue