function ScreenSpace.WorldWidthToScreenWidth(g,V)local j=ScreenSpace.AspectRatio()local O=math.tan(math.rad(Workspace.CurrentCamera.FieldOfView)/2)local f=j*O local n=ScreenSpace.ViewSizeX()return-(g*n)/((2*f)*V)end function ScreenSpace.WorldHeightToScreenHeight(g,V)local j=math.tan(math.rad(Workspace.CurrentCamera.FieldOfView)/2)local O=ScreenSpace.ViewSizeY()return-(g*O)/((2*j)*V)end
-- WorldSize -> ScreenSize
function ScreenSpace.WorldWidthToScreenWidth(worldWidth, depth)
	local aspectRatio = ScreenSpace.AspectRatio()
	local hfactor = math.tan(math.rad(Workspace.CurrentCamera.FieldOfView) / 2)
	local wfactor = aspectRatio * hfactor
	local sx = ScreenSpace.ViewSizeX()
	--
	return -(worldWidth * sx) / (2 * wfactor * depth)
end
function ScreenSpace.WorldHeightToScreenHeight(worldHeight, depth)
	local hfactor = math.tan(math.rad(Workspace.CurrentCamera.FieldOfView) / 2)
	local sy = ScreenSpace.ViewSizeY()
	--
	return -(worldHeight * sy) / (2 * hfactor * depth)
end
