--[[
	Returns the UpVector used for each face to determine Camera rotation when doing CFrame calculation.
]]

function CameraModule:_getUpVectorByFace(cframe, face)
	local upVectorsByFace = {
		[Enum.NormalId.Front] = cframe.UpVector,
		[Enum.NormalId.Back] = cframe.UpVector,
		[Enum.NormalId.Right] = cframe.UpVector,
		[Enum.NormalId.Left] = cframe.UpVector,
		[Enum.NormalId.Top] = cframe.RightVector,
		[Enum.NormalId.Bottom] = cframe.RightVector,
	}

	return upVectorsByFace[face]
end

return CameraModule
