Esempio n. 1
0
		public AnnularRing(IContentManager contentManager, float innerRadius, float outerRadius, int slices)
		{
			ContentManager = contentManager;
			_geometry = ContentManager.CreateAssetPart<Geometry>();
			InnerRadius = innerRadius;
			OuterRadius = outerRadius;
			Slices = slices;

			PrepareVertices();
			PrepareFaces();
		}