local w=Class("\086\105\101\119\112\111\114\116\087\105\110\100\111\119")function w.__init(n,w)n.surfaceGui=w n.camera=Instance.new("\067\097\109\101\114\097")n.camera.Parent=w n.worldFrame=n:_createVPF("\087\111\114\108\100\070\114\097\109\101",2)n.skyboxFrame=n:_createVPF("\083\107\121\098\111\120\070\114\097\109\101",1)n.worldRoot=Instance.new("\087\111\114\108\100\077\111\100\101\108")n.worldRoot.Parent=n.worldFrame end
-- Class

local ViewportWindow = Class("ViewportWindow")

function ViewportWindow:__init(surfaceGui)
	self.surfaceGui = surfaceGui

	self.camera = Instance.new("Camera")
	self.camera.Parent = surfaceGui

	self.worldFrame = self:_createVPF("WorldFrame", 2)
	self.skyboxFrame = self:_createVPF("SkyboxFrame", 1)

	self.worldRoot = Instance.new("WorldModel")
	self.worldRoot.Parent = self.worldFrame
end
