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


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
