 
 	#ProgramObjects
 	#One Shader for each Geometry-Type
-	meshProgramObject = null
+	trianglesplaneProgramObject = null
 	pointcloudProgramObject = null
 
 	#mouse (not used)

		#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"
				trianglesplaneProgramObject ?= engine.createShaderProgram geometry.vertexShader, geometry.fragmentShader
		if geometry.getClassType() is "Pointcloud"
				pointcloudProgramObject ?= engine.createShaderProgram geometry.vertexShader, geometry.fragmentShader

