public GeometricDxRenderer(DxDeviceContext deviceContext) : base(deviceContext, new Camera(new Vector3(0.0f, 0.0f, -2.0f), new Vector3(0.0f, 0.0f, 0.0f), new Vector3(0.0f, 1.0f, 0.0f))) { Meshes.Register("tube", MeshGenerator.CreateTube(1.0f, 1.0f, new Vector3(0, 0, -1))); Meshes.Register("sphere", MeshGenerator.CreateSphere(1.0f)); Meshes.Register("emptyHalfSphere", MeshGenerator.CreateEmptyHalfSphere(1.0f, new Vector3(0, 0, -1))); Meshes.Register("halfCylinder", MeshGenerator.CreateHalfCylinder(1.0f, 1.0f, new Vector3(0, 1, 0), -(float)Math.PI / 2)); Meshes.Register("rod", MeshGenerator.CreateTube(1.0f, 0.5f, new Vector3(0, 0, -1))); Meshes.Register("spring", MeshGenerator.CreateSpring(0.25f, 1.0f, new Vector3(0, 0, -1), 10, 5, 0.05f, 6)); }