getRotatedCoords

fun getRotatedCoords(vec: Vec3, rotation: Int): Vec3
fun getRotatedCoords(blockPos: BlockPos, rotation: Int): Vec3

Returns the real rotations of the given vec in a room with given rotation. To get the relative rotation inside a room use 360 - rotation.