Benchmark
This commit is contained in:
@@ -24,7 +24,12 @@ const TEXT_LIFT = 0.002;
|
||||
|
||||
// names over other players' heads, always facing the camera like minecraft's. drawn after translucent terrain since
|
||||
// the plate is see through. they're full bright, so they can be read in the dark
|
||||
export function render_nameplates(level: ClientLevel, camera: Camera, camera_entity: Entity, partial_tick: number) {
|
||||
export function render_nameplates(
|
||||
level: ClientLevel,
|
||||
camera: Camera,
|
||||
camera_entity: Entity | undefined,
|
||||
partial_tick: number,
|
||||
) {
|
||||
const cos_yaw = Math.cos(camera.yaw);
|
||||
const sin_yaw = Math.sin(camera.yaw);
|
||||
const cos_pitch = Math.cos(camera.pitch);
|
||||
|
||||
Reference in New Issue
Block a user