 		#cam.move [+6.3,0,0]
 
 		engine.background [0.9, 0.9 ,0.9 ,1]
-		#engine.background [0, 0 ,0 ,1]
 		engine.pointSize 100
-		#engine.perspective 30, cvs.width / cvs.height, clippingDistance, clippingDistance + 1
 		engine.perspective 60, cvs.width / cvs.height, 0.0001, 100000
 
 		engine.onRender renderFunction

	addGeometry: (geometry) ->
		geometries.push geometry
		if geometry.getClassType() is "Trianglesplane"
				meshProgramObject ?= engine.createShaderProgram geometry.vertexShader, geometry.fragmentShader
		if geometry.getClassType() is "Pointcloud"
				pointcloudProgramObject ?= engine.createShaderProgram geometry.vertexShader, geometry.fragmentShader


				engine.deleteSingleBuffer g.vertices.VBO
				g.setVertices (View.createArrayBufferObject newVertices), newVertices.length

				#get colors for new coords from Model
				Model.Binary.get(newVertices, (err, colors) ->
					throw err if err
					engine.deleteSingleBuffer g.colors.VBO
					g.setColors (View.createArrayBufferObject colors), colors.length
				)

				engine.useProgram = trianglesplaneProgramObject 

			engine.useProgram = pointcloudProgramObject if g.getClassType() is "Pointcloud"
			#counts vertices of all geometries
