crosshairAngleToEntity

fun crosshairAngleToEntity(entity: Entity): Float

Calculates the angle between the cross-hair and the entity.

Useful for deciding if the player is looking at something or not.