fix comment

This commit is contained in:
Mylloon 2022-11-28 20:06:07 +01:00
parent 167a1a296b
commit 27a349b521
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -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