Skip to content

Commit

Permalink
Infinity
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinJMann committed Jan 15, 2025
1 parent 9f1877b commit ba4f696
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/client/core/Renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { SettingsManager } from './SettingsManager.ts';
import { CollisionManager } from '../input/CollisionManager.ts';
import { Player, PlayerData } from '../../shared/Player.ts';
import is from 'npm:@sindresorhus/[email protected]';
import infinite = is.infinite;

export class Renderer {
private clock: THREE.Clock;
Expand Down Expand Up @@ -388,7 +387,7 @@ export class Renderer {
public getShotVectorsToPlayersWithOffset(
yawOffset: number,
pitchOffset: number,
maxDistance: number = infinite,
maxDistance: number = Infinity,
): { playerID: number; vector: THREE.Vector3; hitPoint: THREE.Vector3 }[] {
return this.remotePlayerRenderer.getShotVectorsToPlayersWithOffset(yawOffset, pitchOffset, maxDistance);
}
Expand Down

0 comments on commit ba4f696

Please sign in to comment.